diff --git a/src/timequiz.c b/src/timequiz.c index 006ac45..9e53409 100644 --- a/src/timequiz.c +++ b/src/timequiz.c @@ -21,4 +21,10 @@ void timequiz() { int correctAnswers[] = { 1 }; + for (int i = 0; i < sizeof(questions) / sizeof(questions[0]); i++) { + int j = rand() % 4; + char* temp = answers[i][0]; + answers[i][0] = answers[i][j]; + answers[i][j] = temp; + } }