From 043d20dfbf4d60b221b6c69cfc7e04a9fae1ab1b Mon Sep 17 00:00:00 2001 From: fdlt3917 Date: Wed, 1 Feb 2023 18:58:00 +0000 Subject: [PATCH] million game - added case T to take cash n leave --- src/main/quizproject.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 8aee65a..cea03ad 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -780,12 +780,16 @@ void play_milliongame() { goto point_one; } break; + case 'T': + million_stay_in_game = 1; + break; default: goto point_one; } million_i++; } + printf("\n%d\n",million_reward); // code for game 3 goes here }