Question: Write the pseudo-code for the final decision to ask if the user wants to change doors, and then reveal whether or not they won a
Write the pseudo-code for the final decision to ask if the user wants to change doors, and then reveal whether or not they won a car or a goat. Store their response in a variable named change_door, You can expect the user's response to be a 'y' for yes, and an 'n' for no. Determining whether they win or lose will depend on the initial_choice, winning_door and change_door values
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
