From 0f361d09d06360d356a07a1c8ade2ebf10dea680 Mon Sep 17 00:00:00 2001 From: Pascal Schneider Date: Tue, 6 Feb 2024 00:16:37 +0100 Subject: [PATCH] weitere 5 Fragen und Antworten --- src/timequiz.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/src/timequiz.c b/src/timequiz.c index 20af7fd..e4e1f4a 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -33,7 +33,12 @@ void timequiz() { "Who is known as the 'Father of Computers'?", "What is the capital of Canada?", "Who discovered penicillin?", - "What is the chemical formula for table salt?" + "What is the chemical formula for table salt?", + "Which is the largest ocean on Earth?", + "Who is the author of '1984'?", + "What is the main ingredient in guacamole?", + "Who was the Greek god of the sea?", + "What is the square root of 144?" }; char* answers[][4] = { @@ -52,10 +57,15 @@ void timequiz() { {"Charles Babbage", "Alan Turing", "Ada Lovelace", "Bill Gates"}, {"Ottawa", "Toronto", "Vancouver", "Montreal"}, {"Alexander Fleming", "Louis Pasteur", "Marie Curie", "Albert Einstein"}, - {"NaCl", "H2O", "CO2", "HCl"} + {"NaCl", "H2O", "CO2", "HCl"}, + {"Pacific Ocean", "Atlantic Ocean", "Indian Ocean", "Arctic Ocean"}, + {"George Orwell", "F. Scott Fitzgerald", "Aldous Huxley", "J.D. Salinger"}, + {"Avocado", "Tomato", "Onion", "Lime"}, + {"Poseidon", "Zeus", "Hades", "Apollo"}, + {"12", "10", "16", "14"} }; - int correctAnswers[] = { 1, 1, 1, 1, 1, 1, 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 }; for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { int j = rand() % 4;