From 0f1648868dfe975f10892611306e770f0c379d02 Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 25 Apr 2024 21:10:42 +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 29274e5..e3e5a26 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -56,9 +56,9 @@ int main() { printf("%s\n", applications[j]); } - if (count > accepted_count) { + if (count < accepted_count) { printf("Neprijati studenti:"); - for (; j < count; j++) { + for (; j < i; j++) { printf("%s\n", applications[j]); } }