This commit is contained in:
Tančáková 2024-03-22 08:54:45 +01:00
parent d4bd4c56de
commit adee55eced

View File

@ -51,7 +51,7 @@ int main() {
qsort(students, count, sizeof(struct Student), compare); qsort(students, count, sizeof(struct Student), compare);
// Výpis výsledkov // Výpis výsledkov
printf("Výsledky:\n"); printf("Vysledky:\n");
for (int i = 0; i < count; i++) { for (int i = 0; i < count; i++) {
printf("%d %s\n", students[i].votes, students[i].name); printf("%d %s\n", students[i].votes, students[i].name);
} }