2nd
This commit is contained in:
parent
a7dcfdeb81
commit
ab43e8c0b9
BIN
a4/program
BIN
a4/program
Binary file not shown.
14
a4/program.c
14
a4/program.c
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user