Initialization
This commit is contained in:
parent
f3cbe0dccf
commit
863b933c07
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user