|
@ -7,6 +7,18 @@ |
|
|
void timequiz(); |
|
|
void timequiz(); |
|
|
|
|
|
|
|
|
void timequiz() { |
|
|
void timequiz() { |
|
|
|
|
|
|
|
|
printf("Welcome to our Time Quiz!\n"); |
|
|
printf("Welcome to our Time Quiz!\n"); |
|
|
printf("You have 60 seconds to answer the questions. Have fun!\n"); |
|
|
printf("You have 60 seconds to answer the questions. Have fun!\n"); |
|
|
|
|
|
|
|
|
|
|
|
char* questions[] = { |
|
|
|
|
|
"What is the capital of France?", |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
char* answers[][4] = { |
|
|
|
|
|
{"Paris", "London", "Berlin", "Madrid"}, |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
int correctAnswers[] = { 1 }; |
|
|
|
|
|
|
|
|
} |
|
|
} |