From da4173541d3f840f665c61105cba017b60f4df78 Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 20 Mar 2024 17:39:22 +0100 Subject: [PATCH] oooodchod --- cv5/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv5/program.c b/cv5/program.c index 2ea9655..851dc76 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -33,7 +33,7 @@ int main() { printf("%d %s\n", database[i].votes, database[i].name); } - // Spočítanie a výpis celkového počtu hlasov + // Načítanie a použitie počtu hlasov zo vstupu int total_votes = 0; for (int i = 0; i < size; i++) { total_votes += database[i].votes;