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.

10 lines
389 B

  1. #ifndef TIMEQUIZ_H
  2. #define TIMEQUIZ_H
  3. void timequiz();
  4. int getRandomQuestionIndex(int askedQuestions[], int totalQuestions);
  5. void displayQuestion(const char* question,const char* answers[], int correctIndex);
  6. void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers,const char* answers[]);
  7. int isValidAnswer(int userAnswer);
  8. #endif //ende TIMEQUIZ_H