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