Browse Source

weitere 5 Fragen und Antworten

remotes/origin/Pascal
Pascal Schneider 11 months ago
parent
commit
e9ebdf1a09
  1. 18
      src/timequiz.c

18
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;

Loading…
Cancel
Save