diff --git a/du6/program.c b/du6/program.c index 3852a57..749a20d 100644 --- a/du6/program.c +++ b/du6/program.c @@ -81,7 +81,7 @@ void print(struct LIS *list,int count,int places){ } if(count-places>0){ printf("Neprijati studenti:\n"); - for(i=(count-places+1);i<30;i++){ + for(int i=(count-places)+2;i<30;i++){ if(list[i].num==0){ fputs(list[i].fname,stdout); }