@ -72,6 +72,10 @@ void timequiz() {
scanf_s("%d", &userAnswer);
processUserAnswer(userAnswer, correctIndex, &score, &totalCorrectAnswers, answers[questionIndex]);
totalAnsweredQuestions++;
currentTime = time(NULL);
elapsedTime = (int)difftime(currentTime, startTime);
}