diff --git a/cv5/program.c b/cv5/program.c index 408633f..aa88d48 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -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 \ No newline at end of file + \ No newline at end of file