Update 'cv5/program.c'

This commit is contained in:
Tamáš 2024-03-21 17:24:45 +00:00
parent 97083e4ab7
commit 7d39793ba4

View File

@ -53,15 +53,16 @@ int main() {
} }
validneZaznamy = 1; validneZaznamy = 1;
} else { } else {
break; break;
} }
} }
if (!validneZaznamy) { if (!validneZaznamy) {
printf("Nepodarilo nacitat nic\n"); printf("Nepodarilo nacitat nic\n");
return 0; return 0;
}
qsort(studenti, pocetStudentov, sizeof(Student), porovnaj); qsort(studenti, pocetStudentov, sizeof(Student), porovnaj);