cv5
This commit is contained in:
parent
44a3be3a54
commit
65292dc71b
@ -74,10 +74,11 @@ int main() {
|
||||
qsort(database, size, sizeof(struct student), compare);
|
||||
|
||||
// Výpis výsledkov
|
||||
printf("Výsledky:\n");
|
||||
for (int i = 0; i < size; ++i) {
|
||||
printf("%d %s\n", database[i].votes, database[i].name);
|
||||
}
|
||||
|
||||
printf("\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user