From deb63e461475d71a923d42cdfb489d8fde2f56ac Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 25 Apr 2024 18:17:15 +0200 Subject: [PATCH] Initialization --- cv10/program.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/cv10/program.c b/cv10/program.c index 3dfb878..e84434a 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -43,6 +43,8 @@ int main() { for (int i = 0; i < num_accepted; i++) { printf("%s\n", names[i]); } + printf("%d",num_accepted); + printf("%d",num_students); if (num_students > num_accepted) { printf("Neprijati studenti:"); @@ -55,9 +57,6 @@ int main() { break; } } - if (!found) { - printf("%s\n", temp_name); - } } } }