diff --git a/cv10/program.c b/cv10/program.c index 59add77..29274e5 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -58,7 +58,7 @@ int main() { if (count > accepted_count) { printf("Neprijati studenti:"); - for (; j < i; j++) { + for (; j < count; j++) { printf("%s\n", applications[j]); } } @@ -70,4 +70,4 @@ int main() { free(applications); return 0; -} +} \ No newline at end of file