cv5
This commit is contained in:
parent
dd4291a1dd
commit
019daadb45
@ -75,9 +75,9 @@ int main() {
|
|||||||
// Výpis triedenej databázy
|
// Výpis triedenej databázy
|
||||||
printf("\nSorted database:\n");
|
printf("\nSorted database:\n");
|
||||||
for (int i = 0; i < size; i++) {
|
for (int i = 0; i < size; i++) {
|
||||||
printf("%s %d\n", database[i].votes, database[i].name);
|
printf("%d %s\n", database[i].votes, database[i].name);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
database[i].name, database[i].votes
|
|
Loading…
Reference in New Issue
Block a user