From 544c0b45e74755469f6eb46a219976dafd8d1e49 Mon Sep 17 00:00:00 2001 From: fdlt3917 Date: Thu, 9 Feb 2023 14:34:57 +0000 Subject: [PATCH] million game - added checkpoint two --- src/main/quizproject.c | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 89a020f..f4ad488 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -1311,8 +1311,10 @@ void play_milliongame() { printf("--------CHECKPOINT ONE---------\n"); million_checkpoint = million_reward; } - else if(million_i == 9) - million_checkpoint = million_reward; + else if(million_i == 9){ + printf("--------CHECKPOINT TWO---------\n"); + million_checkpoint = million_reward; + } else{} } @@ -1334,8 +1336,10 @@ void play_milliongame() { printf("--------CHECKPOINT ONE---------\n"); million_checkpoint = million_reward; } - else if(million_i == 9) - million_checkpoint = million_reward; + else if(million_i == 9){ + printf("--------CHECKPOINT TWO---------\n"); + million_checkpoint = million_reward; + } else{} } @@ -1354,10 +1358,13 @@ void play_milliongame() { million_checkpoint = 0; } else if(million_i == 4){ + printf("--------CHECKPOINT ONE---------\n"); million_checkpoint = million_reward; } - else if(million_i == 9) - million_checkpoint = million_reward; + else if(million_i == 9){ + printf("--------CHECKPOINT TWO---------\n"); + million_checkpoint = million_reward; + } else{} } @@ -1379,8 +1386,10 @@ void play_milliongame() { printf("--------CHECKPOINT ONE---------\n"); million_checkpoint = million_reward; } - else if(million_i == 9) - million_checkpoint = million_reward; + else if(million_i == 9){ + printf("--------CHECKPOINT TWO---------\n"); + million_checkpoint = million_reward; + } else{} } else{