Browse Source

refactoring - edited friend lifeline

main
fdlt3917 2 years ago
parent
commit
812593cb95
  1. 3
      src/main/quizproject.c

3
src/main/quizproject.c

@ -1392,12 +1392,12 @@ void play_milliongame() {
break; break;
case 'F': case 'F':
if(million_lifeline_delete != 1){ if(million_lifeline_delete != 1){
printf("\n-----------FIFTY/FIFTY LIFELINE------------");
printf("\nFifty/Fifty lifeline already used\n"); printf("\nFifty/Fifty lifeline already used\n");
goto point_one; goto point_one;
} }
else { else {
million_lifeline_delete = 0; million_lifeline_delete = 0;
printf("\n-----------FIFTY/FIFTY LIFELINE------------");
printf("\nComputer will now MARK two wrong answers...\n"); printf("\nComputer will now MARK two wrong answers...\n");
while(million_k < 4 && million_count_replace < 2){ while(million_k < 4 && million_count_replace < 2){
@ -1420,6 +1420,7 @@ void play_milliongame() {
} }
else{ else{
million_lifeline_friend = 0; million_lifeline_friend = 0;
printf("\n-----------FRIEND LIFELINE------------");
printf("\nYou can now ask a friend for help...\n"); printf("\nYou can now ask a friend for help...\n");
for(int j=0;j<4;j++){ for(int j=0;j<4;j++){
printf("%s\n",answers[million_i][j]); printf("%s\n",answers[million_i][j]);

Loading…
Cancel
Save