Browse Source

Press 'Enter' starts the game

main
fdlt3859 2 years ago
parent
commit
d183aa7a9f
  1. 4
      src/main/quizproject.c

4
src/main/quizproject.c

@ -11,6 +11,10 @@ void displayWelcomeMessage(void) {
printf("\t\t Welcome to The Quiz \n\n");
printf("\t\t------------------------------------------\n");
printf("\t\t------------------------------------------\n\n");
printf("\t\t Press 'Enter' to begin the Game \n");
char startGame;
scanf("%c", &startGame);
startGame = toupper(startGame);
}

Loading…
Cancel
Save