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

This commit is contained in:
Pavlo Tverdyi 2020-04-16 19:27:20 +00:00
parent 749a98398c
commit 4304fb50f7

View File

@ -83,7 +83,7 @@ void print(struct LIS *list,int count,int places){
if(count-places>0){ if(count-places>0){
int k=0; int k=0;
printf("Neprijati studenti:\n"); printf("Neprijati studenti:\n");
for(int i=places+1;i<count;i++){ for(int i=places+1;i<count-1;i++){
if(list[i].num==0){ if(list[i].num==0){
fputs(list[i].fname,stdout); fputs(list[i].fname,stdout);
k++; k++;