cv5
This commit is contained in:
parent
65292dc71b
commit
4c913de6f1
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user