From 019daadb45747e5805eec1934917e6336e9b615b Mon Sep 17 00:00:00 2001 From: VIliam Date: Fri, 22 Mar 2024 00:05:16 +0100 Subject: [PATCH] cv5 --- cv5/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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