diff --git a/src/timequiz.c b/src/timequiz.c index 10a32cd..5859cc1 100644 --- a/src/timequiz.c +++ b/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) {