|
@ -6,6 +6,8 @@ |
|
|
|
|
|
|
|
|
void timequiz(); |
|
|
void timequiz(); |
|
|
|
|
|
|
|
|
|
|
|
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions); |
|
|
|
|
|
|
|
|
void timequiz() { |
|
|
void timequiz() { |
|
|
|
|
|
|
|
|
printf("Welcome to our Time Quiz!\n"); |
|
|
printf("Welcome to our Time Quiz!\n"); |
|
@ -52,4 +54,8 @@ void timequiz() { |
|
|
|
|
|
|
|
|
memset(askedQuestions, 0, sizeof(askedQuestions)); |
|
|
memset(askedQuestions, 0, sizeof(askedQuestions)); |
|
|
srand((unsigned int)time(NULL)); |
|
|
srand((unsigned int)time(NULL)); |
|
|
|
|
|
|
|
|
|
|
|
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) { |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |