From 812593cb954d365dda46644f5fd7b717734f5289 Mon Sep 17 00:00:00 2001 From: fdlt3917 Date: Thu, 9 Feb 2023 10:09:33 +0000 Subject: [PATCH] refactoring - edited friend lifeline --- src/main/quizproject.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/quizproject.c b/src/main/quizproject.c index 5e142a8..b918e01 100644 --- a/src/main/quizproject.c +++ b/src/main/quizproject.c @@ -1392,12 +1392,12 @@ void play_milliongame() { break; case 'F': if(million_lifeline_delete != 1){ - printf("\n-----------FIFTY/FIFTY LIFELINE------------"); printf("\nFifty/Fifty lifeline already used\n"); goto point_one; } else { million_lifeline_delete = 0; + printf("\n-----------FIFTY/FIFTY LIFELINE------------"); printf("\nComputer will now MARK two wrong answers...\n"); while(million_k < 4 && million_count_replace < 2){ @@ -1420,6 +1420,7 @@ void play_milliongame() { } else{ million_lifeline_friend = 0; + printf("\n-----------FRIEND LIFELINE------------"); printf("\nYou can now ask a friend for help...\n"); for(int j=0;j<4;j++){ printf("%s\n",answers[million_i][j]);