diff --git a/cv10/program.c b/cv10/program.c index be56f10..30308fb 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -41,14 +41,14 @@ int main() { } else { printf("Prijati studenti:\n"); for (int i = 0; i < num_accepted; i++) { - printf("%s\n", names[i]); + printf("%s", names[i]); } } if (num_accepted < max_students) { printf("Neprijati studenti:\n"); for (int i = num_accepted; i < max_students; i++) { - printf("%s\n", names[i]); + printf("%s", names[i]); } }