This commit is contained in:
Džubara 2024-03-22 00:05:16 +01:00
parent dd4291a1dd
commit 019daadb45

View File

@ -75,9 +75,9 @@ int main() {
// Výpis triedenej databázy
printf("\nSorted database:\n");
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;
}
database[i].name, database[i].votes