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