From 7978222be0d60e616dd8a70c4c6282551697cd3d Mon Sep 17 00:00:00 2001 From: fdlt3859 Date: Wed, 8 Feb 2023 23:36:04 +0000 Subject: [PATCH] Quick Fix: Program can now be Exited after play. --- src/main/quizproject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 55a8b2f..24a25d9 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -2998,7 +2998,7 @@ int main(int argc, char *argv[]) { int jump_to_menu = 0; - while (choice != 8 || jump_to_menu) { + while (choice != 20 || jump_to_menu) { printf("Welcome to the Game Menu!\n"); printf("1. QuizGame\n"); printf("2. Fact or Lie?\n");