|
@ -38,6 +38,18 @@ void casualQuiz() { |
|
|
printf("bei: %d beantworteten Fragen", answered); |
|
|
printf("bei: %d beantworteten Fragen", answered); |
|
|
correct = 0; |
|
|
correct = 0; |
|
|
answered = 0; |
|
|
answered = 0; |
|
|
|
|
|
if (already_played == true) { |
|
|
|
|
|
int sure; |
|
|
|
|
|
printf("Would you like to play again?\n"); |
|
|
|
|
|
printf("Input 1 to continue Gaming, input 0 to return to the main menu: "); |
|
|
|
|
|
scanf_s("%d", &sure); |
|
|
|
|
|
|
|
|
|
|
|
if (sure == 1) printf("Starting the program up again..."); |
|
|
|
|
|
else { |
|
|
|
|
|
printf("Input not '1', returning to main menu..."); |
|
|
|
|
|
end = true; |
|
|
|
|
|
} |
|
|
|
|
|
} |
|
|
} |
|
|
} |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|