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