Browse Source

weitere 5 Fragen und Antworten

remotes/origin/Pascal
Pascal Schneider 11 months ago
parent
commit
182753b72f
  1. 15
      src/timequiz.c

15
src/timequiz.c

@ -48,7 +48,11 @@ void timequiz() {
"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?"
"Who was the first woman to win a Nobel Prize?",
"Who composed 'The Four Seasons'?",
"What is the largest mammal in the world?",
"What is the study of earthquakes called?",
"Who wrote 'Hamlet'?"
};
char* answers[][4] = {
@ -82,13 +86,18 @@ void timequiz() {
{"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"}
{"Marie Curie", "Rosalind Franklin", "Mother Teresa", "Malala Yousafzai"},
{"299,792,458 meters per second", "300,000,000 meters per second", "200,000,000 meters per second", "150,000,000 meters per second"},
{"Antonio Vivaldi", "Wolfgang Amadeus Mozart", "Ludwig van Beethoven", "Johann Sebastian Bach"},
{"Blue whale", "African elephant", "Giraffe", "Polar bear"},
{"Seismology", "Meteorology", "Geology", "Astronomy"},
{"William Shakespeare", "Charles Dickens", "Jane Austen", "Mark Twain"}
};
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;

Loading…
Cancel
Save