This commit is contained in:
Džubara 2024-03-22 00:28:20 +01:00
parent 65292dc71b
commit 4c913de6f1

View File

@ -74,11 +74,10 @@ 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");
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"); printf("\n");
return 0; return 0;
} }