You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
446 B

  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <time.h>
  4. #include <string.h>
  5. #include "timequiz.h"
  6. void timequiz();
  7. void timequiz() {
  8. printf("Welcome to our Time Quiz!\n");
  9. printf("You have 60 seconds to answer the questions. Have fun!\n");
  10. char* questions[] = {
  11. "What is the capital of France?",
  12. };
  13. char* answers[][4] = {
  14. {"Paris", "London", "Berlin", "Madrid"},
  15. };
  16. int correctAnswers[] = { 1 };
  17. }