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);