funguje
This commit is contained in:
parent
69cac7b871
commit
fa77ef472f
@ -60,9 +60,10 @@ int main() {
|
||||
struct Student students[MAX_STUDENTS];
|
||||
int count = read_and_sum_votes(students, MAX_STUDENTS);
|
||||
|
||||
// Ak neexistujú žiadne údaje, vypíšeme chybovú správu
|
||||
if (count == 0) {
|
||||
printf("Nepodarilo nacitat nic\n");
|
||||
return 1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Triedenie študentov
|
||||
|
Loading…
Reference in New Issue
Block a user