From f3d83f281f5d6f63007b3a732698b8e600ef1ada Mon Sep 17 00:00:00 2001 From: fdlt3917 Date: Mon, 23 Jan 2023 11:19:18 +0000 Subject: [PATCH] added get 's' to start the game --- src/main/quizproject.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index c0774a6..b582f6c 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -69,7 +69,16 @@ void displayInstructions(void) { int main(){ displayInstructions(); - return 0; + + printf(">>Press 's' and Enter start the Game<<\n"); + char var, var1 = 's'; + getchar(); + while(var != var1) { + var = getchar(); + } + printf("\n"); + + return 0; }