From d183aa7a9fa8e048d4a296801c2b6f50fee5320f Mon Sep 17 00:00:00 2001 From: fdlt3859 Date: Mon, 23 Jan 2023 10:49:25 +0000 Subject: [PATCH] Press 'Enter' starts the game --- src/main/quizproject.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index abb9b1a..1bdfc29 100644 --- a/src/main/quizproject.c +++ b/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); }