This commit is contained in:
Peter Petrek 2021-12-02 20:57:18 +01:00
parent a7dcfdeb81
commit ab43e8c0b9
2 changed files with 11 additions and 3 deletions

Binary file not shown.

View File

@ -48,10 +48,18 @@ int main(){
}
printf("\n");
for (int j = 0; j < i; j++)
int count = 0;
for (int j = 0; j < i-1; j++)
{
printf("%d, ",inputNum[vypis[j]]);
if (j<=(i)/2)
{
for (int k = 0; k < count; k++)
{
printf(" ");
}
count++;
}
printf("%d\n",inputNum[vypis[j]]);
}
return 0;