diff --git a/cv10/program.c b/cv10/program.c index 9b4ad43..6d4d58f 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -39,16 +39,18 @@ int main() { if (num_accepted == 0) { printf("Ziadne prihlasky\n"); } else { - printf("Prijati studenti:"); + printf("Prijati studenti:\n"); for (int i = 0; i < num_accepted; i++) { - printf("%s\n", names[i]); + printf("%s", names[i]); + printf("\n"); } } 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]); + printf("\n"); } }