From 97083e4ab7113699dac715c7fb597e8f7964d202 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tam=C3=A1=C5=A1?= Date: Thu, 21 Mar 2024 17:21:50 +0000 Subject: [PATCH] Update 'cv5/program.c' --- cv5/program.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cv5/program.c b/cv5/program.c index ddf0ca1..5a75abe 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -51,7 +51,7 @@ int main() { printf("Nepodarilo sa pridaƄ hlas.\n"); return 1; } - validneZaznamy = 1; + validneZaznamy = 1; } else { break; @@ -59,10 +59,9 @@ int main() { } if (!validneZaznamy) { - + printf("Nepodarilo nacitat nic\n"); - return 1; - } + return 0; qsort(studenti, pocetStudentov, sizeof(Student), porovnaj);