From e9ebdf1a09a6743d5652c03ef0953756149b999b Mon Sep 17 00:00:00 2001 From: Pascal Schneider Date: Tue, 6 Feb 2024 00:18:29 +0100 Subject: [PATCH] weitere 5 Fragen und Antworten --- src/timequiz.c | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/src/timequiz.c b/src/timequiz.c index e4e1f4a..332722f 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -38,7 +38,12 @@ void timequiz() { "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?" + "What is the square root of 144?", + "Who wrote 'Romeo and Juliet'?", + "What is the process by which plants make their food?", + "What is the boiling point of water in Celsius?", + "Who painted 'Starry Night'?", + "What is the chemical symbol for gold?" }; char* answers[][4] = { @@ -62,10 +67,17 @@ void timequiz() { {"George Orwell", "F. Scott Fitzgerald", "Aldous Huxley", "J.D. Salinger"}, {"Avocado", "Tomato", "Onion", "Lime"}, {"Poseidon", "Zeus", "Hades", "Apollo"}, - {"12", "10", "16", "14"} + {"12", "10", "16", "14"}, + {"William Shakespeare", "Jane Austen", "Emily Bronte", "Leo Tolstoy"}, + {"Photosynthesis", "Respiration", "Fermentation", "Transpiration"}, + {"100", "0", "212", "50"}, + {"Vincent van Gogh", "Pablo Picasso", "Leonardo da Vinci", "Claude Monet"}, + {"Au", "Ag", "Hg", "Fe"} }; - int correctAnswers[] = { 1, 1, 1, 1, 1, 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, 1, 1, 1, 1, 1 }; for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { int j = rand() % 4;