Initialization

This commit is contained in:
Kozar 2024-03-21 16:50:32 +01:00
parent f3cbe0dccf
commit 863b933c07

View File

@ -56,11 +56,11 @@ int main() {
qsort(students, size, sizeof(struct student), compare); qsort(students, size, sizeof(struct student), compare);
// print the results // print the results
printf("Results:\n"); printf("Vysledky:\n");
for (int i = 0; i < size; i++) { for (int i = 0; i < size; i++) {
printf("%d %s\n", students[i].votes, students[i].name); printf("%d %s\n", students[i].votes, students[i].name);
} }
printf("\n"); // printf("\n");
return 0; return 0;
} }