This commit is contained in:
Tančáková 2024-03-20 13:44:02 +01:00
parent de5366c929
commit a2bea1d86f

View File

@ -60,7 +60,7 @@ int main() {
qsort(students, total_students, sizeof(Student), compare_students); qsort(students, total_students, sizeof(Student), compare_students);
// Print the outcome // Print the outcome
printf("Outcome:\n"); printf("Výsledky:\n");
for (int i = 0; i < total_students; i++) { for (int i = 0; i < total_students; i++) {
printf("%d %s\n", students[i].votes, students[i].name); printf("%d %s\n", students[i].votes, students[i].name);
} }
@ -69,3 +69,72 @@ int main() {
} }