|
@ -43,7 +43,12 @@ void timequiz() { |
|
|
"What is the process by which plants make their food?", |
|
|
"What is the process by which plants make their food?", |
|
|
"What is the boiling point of water in Celsius?", |
|
|
"What is the boiling point of water in Celsius?", |
|
|
"Who painted 'Starry Night'?", |
|
|
"Who painted 'Starry Night'?", |
|
|
"What is the chemical symbol for gold?" |
|
|
|
|
|
|
|
|
"What is the chemical symbol for gold?", |
|
|
|
|
|
"Which planet is known as the Red Planet?", |
|
|
|
|
|
"Who invented the telephone?", |
|
|
|
|
|
"What is the capital of Brazil?", |
|
|
|
|
|
"What is the hardest natural substance on Earth?", |
|
|
|
|
|
"Who was the first woman to win a Nobel Prize?" |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
char* answers[][4] = { |
|
|
char* answers[][4] = { |
|
@ -72,12 +77,18 @@ void timequiz() { |
|
|
{"Photosynthesis", "Respiration", "Fermentation", "Transpiration"}, |
|
|
{"Photosynthesis", "Respiration", "Fermentation", "Transpiration"}, |
|
|
{"100", "0", "212", "50"}, |
|
|
{"100", "0", "212", "50"}, |
|
|
{"Vincent van Gogh", "Pablo Picasso", "Leonardo da Vinci", "Claude Monet"}, |
|
|
{"Vincent van Gogh", "Pablo Picasso", "Leonardo da Vinci", "Claude Monet"}, |
|
|
{"Au", "Ag", "Hg", "Fe"} |
|
|
|
|
|
|
|
|
{"Au", "Ag", "Hg", "Fe"}, |
|
|
|
|
|
{"Mars", "Jupiter", "Venus", "Mercury"}, |
|
|
|
|
|
{"Alexander Graham Bell", "Thomas Edison", "Nikola Tesla", "Galileo Galilei"}, |
|
|
|
|
|
{"Brasília", "Rio de Janeiro", "São Paulo", "Buenos Aires"}, |
|
|
|
|
|
{"Diamond", "Quartz", "Graphite", "Topaz"}, |
|
|
|
|
|
{"Marie Curie", "Rosalind Franklin", "Mother Teresa", "Malala Yousafzai"} |
|
|
}; |
|
|
}; |
|
|
|
|
|
|
|
|
int correctAnswers[] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
|
|
int correctAnswers[] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
|
|
1, 1, 1, 1, 1, 1 }; |
|
|
|
|
|
|
|
|
1, 1, 1, 1, 1, 1, 1, 1, 1, 1, |
|
|
|
|
|
1 }; |
|
|
|
|
|
|
|
|
for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { |
|
|
for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { |
|
|
int j = rand() % 4; |
|
|
int j = rand() % 4; |
|
|