Update 'cv5/program.c'

This commit is contained in:
Tamáš 2024-03-21 17:21:50 +00:00
parent 25eb67de10
commit 97083e4ab7

View File

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