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

This commit is contained in:
Pavlo Tverdyi 2020-04-16 19:31:13 +00:00
parent 952d87b021
commit debd04d7eb

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+2;i++){ for(int i=places+1;i<count;i++){
if(list[i].num==0){ if(list[i].num==0){
fputs(list[i].fname,stdout); fputs(list[i].fname,stdout);
k++; k++;