From 360e93c4f05cabda42df83c485cb97267a336c0a Mon Sep 17 00:00:00 2001 From: Pascal Schneider Date: Tue, 6 Feb 2024 00:21:55 +0100 Subject: [PATCH] weitere 5 Fragen und Antworten --- src/timequiz.c | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/timequiz.c b/src/timequiz.c index 332722f..2198a38 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -43,7 +43,12 @@ void timequiz() { "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?" + "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] = { @@ -72,12 +77,18 @@ void timequiz() { {"Photosynthesis", "Respiration", "Fermentation", "Transpiration"}, {"100", "0", "212", "50"}, {"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, 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++) { int j = rand() % 4;