From 2bd09509ceb211977644f10db9d21db0f7be265c Mon Sep 17 00:00:00 2001 From: st529yr Date: Wed, 20 Mar 2024 17:56:02 +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 58dc588..d0bc920 100644 --- a/cv5/program.c +++ b/cv5/program.c @@ -35,7 +35,7 @@ int main() { memset(database, 0, SIZE * sizeof(struct student)); int size = 10; // Veľkosť databázy mien študentov char* names[10] = {"Bardos Mrtakrys", "Rita Umhi", "Prylenn Alak", "Lak'hi Elavorg", "Prylenn Alak", "Prylenn Alak", "Prylenn Alak", "Rita Umhi", "Terian Dis"}; - int votes[10] = {2, 1, 1, 10, 3, 3, 3, 1, 10}; // Počet hlasov pre každého študenta + int votes[10] = {2, 1, 1, 9, 3, 3, 3, 1, 10}; // Počet hlasov pre každého študenta initialize_database(database, size, names, votes); // Inicializácia databázy mien študentov