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

This commit is contained in:
Pavlo Tverdyi 2020-04-16 19:28:06 +00:00
parent 4304fb50f7
commit 952d87b021

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