oooodchod
This commit is contained in:
parent
ccd49e57ab
commit
da4173541d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user