|
@ -748,6 +748,22 @@ void play_milliongame() { |
|
|
scanf(" %c", &million_user_answers[million_i]); |
|
|
scanf(" %c", &million_user_answers[million_i]); |
|
|
million_user_answers[million_i] = toupper(million_user_answers[million_i]); |
|
|
million_user_answers[million_i] = toupper(million_user_answers[million_i]); |
|
|
|
|
|
|
|
|
|
|
|
if(million_user_answers[million_i] == million_std_answers[million_i]){ |
|
|
|
|
|
printf("\nCorrect!"); |
|
|
|
|
|
} |
|
|
|
|
|
else{ |
|
|
|
|
|
million_stay_in_game = 1; |
|
|
|
|
|
printf("\nIncorrect!"); |
|
|
|
|
|
} |
|
|
|
|
|
break; |
|
|
|
|
|
case 'P': |
|
|
|
|
|
million_lifeline_friend = 0; |
|
|
|
|
|
printf("\nYou can now ask a friend for help...\n"); |
|
|
|
|
|
|
|
|
|
|
|
printf("Enter a valid Response: "); |
|
|
|
|
|
scanf(" %c", &million_user_answers[million_i]); |
|
|
|
|
|
million_user_answers[million_i] = toupper(million_user_answers[million_i]); |
|
|
|
|
|
|
|
|
if(million_user_answers[million_i] == million_std_answers[million_i]){ |
|
|
if(million_user_answers[million_i] == million_std_answers[million_i]){ |
|
|
printf("\nCorrect!"); |
|
|
printf("\nCorrect!"); |
|
|
} |
|
|
} |
|
|