|
@ -3,8 +3,8 @@ |
|
|
|
|
|
|
|
|
void timequiz(); |
|
|
void timequiz(); |
|
|
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); |
|
|
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); |
|
|
void displayQuestion(char* question, char* answers[], int correctIndex); |
|
|
|
|
|
void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers, char* answers[]); |
|
|
|
|
|
|
|
|
void displayQuestion(const char* question,const char* answers[], int correctIndex); |
|
|
|
|
|
void processUserAnswer(int userAnswer, int correctIndex, int* score, int* totalCorrectAnswers,const char* answers[]); |
|
|
int isValidAnswer(int userAnswer); |
|
|
int isValidAnswer(int userAnswer); |
|
|
|
|
|
|
|
|
#endif //ende TIMEQUIZ_H |
|
|
#endif //ende TIMEQUIZ_H |