From 6df932dde0f943bf0db13fa9949a29e949390dc8 Mon Sep 17 00:00:00 2001 From: ak643du Date: Mon, 22 Apr 2024 18:28:15 +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 82a5a63..f8fd5bf 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -44,7 +44,7 @@ int main() { } } - if (num_accepted < max_students && num_accepted < num_students) { + if (num_accepted < max_students) { printf("Neprijati studenti:"); for (int i = 0; i < max_students; i++) { if (names[i][0] == '\0') { @@ -52,6 +52,6 @@ int main() { } } } - + return 0; } \ No newline at end of file