From a4235120e55e4e76d13e983d153cae2cd18900ad Mon Sep 17 00:00:00 2001 From: Pascal Schneider Date: Tue, 6 Feb 2024 00:02:55 +0100 Subject: [PATCH] =?UTF-8?q?weitere=205=20Fragen=20und=20Antworten=20hinzug?= =?UTF-8?q?ef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/timequiz.c | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/src/timequiz.c b/src/timequiz.c index ad62cd7..090a33c 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -24,6 +24,11 @@ void timequiz() { "What is the chemical symbol for water?", "Who wrote 'To Kill a Mockingbird'?", "What is the largest planet in our solar system?", + "Who painted the Mona Lisa?", + "What is the tallest mountain in the world?", + "Which country is known as the Land of the Rising Sun?", + "Who was the first person to walk on the moon?", + "What year did World War I begin?" }; char* answers[][4] = { @@ -33,9 +38,14 @@ void timequiz() { {"H2O", "CO2", "NaCl", "C6H12O6"}, {"Harper Lee", "J.K. Rowling", "Ernest Hemingway", "George Orwell"}, {"Jupiter", "Saturn", "Mars", "Neptune"}, + {"Leonardo da Vinci", "Michelangelo", "Pablo Picasso", "Vincent van Gogh"}, + {"Mount Everest", "K2", "Kangchenjunga", "Lhotse"}, + {"Japan", "China", "South Korea", "India"}, + {"Neil Armstrong", "Buzz Aldrin", "Yuri Gagarin", "Alan Shepard"}, + {"1914", "1918", "1923", "1939"} }; - int correctAnswers[] = { 1, 1, 1, 1, 1, 1 }; + int correctAnswers[] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 }; for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { int j = rand() % 4;