Browse Source

Abschlussnachricht

remotes/origin/Pascal
Pascal Schneider 11 months ago
parent
commit
551850304b
  1. 3
      src/timequiz.c

3
src/timequiz.c

@ -77,6 +77,9 @@ void timequiz() {
currentTime = time(NULL);
elapsedTime = (int)difftime(currentTime, startTime);
}
printf("\nQuiz finished!\n");
printf("Your total score: %d out of %d\n", totalCorrectAnswers, totalAnsweredQuestions);
}
int getRandomQuestionIndex(int askedQuestions[], int totalQuestions) {

Loading…
Cancel
Save