diff --git a/du6/program.c b/du6/program.c index 056e517..36acd29 100644 --- a/du6/program.c +++ b/du6/program.c @@ -79,7 +79,7 @@ int main(){ //Print names if(newLines <= lines){ - puts("Prijati studenti:"); + puts("Prijati studenti:\n"); for(int i = 0; i < newLines; i++){ printf("%s\n", newNames[i]); } @@ -88,11 +88,11 @@ int main(){ } } else{ - printf("Prijati studenti:"); + printf("Prijati studenti:\n"); for(int i = 0; i <= lines; i++){ printf("%s\n", newNames[i]); } - puts("Neprijati studenti:"); + puts("Neprijati studenti:\n"); for(int i = lines + 1; i < newLines; i++){ printf("%s\n", newNames[i]); }