oooodchod
This commit is contained in:
parent
7b4ae4dafd
commit
2bd09509ce
@ -35,7 +35,7 @@ int main() {
|
|||||||
memset(database, 0, SIZE * sizeof(struct student));
|
memset(database, 0, SIZE * sizeof(struct student));
|
||||||
int size = 10; // Veľkosť databázy mien študentov
|
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"};
|
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
|
initialize_database(database, size, names, votes); // Inicializácia databázy mien študentov
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user