View Single Post
Yes/No Function Issues
Junior Member
Status: Offline
Posts: 11
Join Date: Mar 2012
Default Yes/No Function Issues - 04-25-2012, 10:58 PM

I have programmed a Monty game with a car as a prize. After the user selects a door, I have it to program to open one of the other doors, which has a monkey behind it, then ask the user whether they want to switch their decision or not.

The problem that I'm running into is how to program Alice, if the user selects Yes to do one thing and if the user selects No to do another thing. I figured I would use If/Else statement but can't figure out to say if yes was selected or if no was selected.

Right now it doesn't matter if you select yes or no, the program will open the door originally selected.

Thanks in advance.
Reply With Quote