Изменить 'du6/program.c'

This commit is contained in:
Pavlo Tverdyi 2020-04-16 19:49:16 +00:00
parent 5f087c3c3d
commit 15fc7eaf56

View File

@ -71,10 +71,10 @@ void print(struct LIS *list,int count,int places){
int i=0; int i=0;
if(places>0){ if(places>0){
int k=1; int k=1;
printf("Prijati studenti:\n");
for(int i=0;k!=places+1;i++){ for(int i=0;k!=places+1;i++){
if(list[i].num==0){ if(list[i].num==0){
fputs(list[i].fname,stdout); fputs(list[i].fname,stdout);
printf("%d ",k);
k++; k++;
} }
} }