diff --git a/du6/program.c b/du6/program.c index 4600715..b597b8b 100644 --- a/du6/program.c +++ b/du6/program.c @@ -89,7 +89,7 @@ int main(){ } else{ printf("Prijati studenti:"); - for(int i = 0; i < lines; i++){ + for(int i = 0; i <= lines; i++){ printf("%s\n", newNames[i]); } puts("Neprijati studenti:");