diff --git a/src/timequiz.c b/src/timequiz.c index 5859cc1..ad62cd7 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -18,14 +18,24 @@ void timequiz() { printf("You have 60 seconds to answer the questions. Have fun!\n"); char* questions[] = { - "What is the capital of France?", - }; + "What is the capital of France?", + "Who developed the theory of relativity?", + "Who was the first President of the United States?", + "What is the chemical symbol for water?", + "Who wrote 'To Kill a Mockingbird'?", + "What is the largest planet in our solar system?", +}; char* answers[][4] = { {"Paris", "London", "Berlin", "Madrid"}, - }; - - int correctAnswers[] = { 1 }; + {"Albert Einstein", "Isaac Newton", "Galileo Galilei", "Stephen Hawking"}, + {"George Washington", "Thomas Jefferson", "John Adams", "James Madison"}, + {"H2O", "CO2", "NaCl", "C6H12O6"}, + {"Harper Lee", "J.K. Rowling", "Ernest Hemingway", "George Orwell"}, + {"Jupiter", "Saturn", "Mars", "Neptune"}, +}; + + int correctAnswers[] = { 1, 1, 1, 1, 1, 1 }; for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { int j = rand() % 4;