From 6874137ac44b5ba59ba6175d6313fc0124df7530 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 22 Apr 2024 14:12:07 +0200 Subject: [PATCH] Initialization --- cv10/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]); } }