The Monty Hall Dilemma There used to be a TV show called "Let's Make A Deal" with host Monty Hall. At some point a contestant was shown 3 doors and asked to pick one. There was a nice prize behind one of the doors, and lame prizes behind the others. Once the contestant picked a door, he or she was shown what was behind ANOTHER door... always a lame prize, and asked if he or she wanted to stay with the original choice, or pick the other remaining door. The question: Is it better to stay with the original door you selected, or switch to the other? Is there any difference in your odds? Your assignment: Create a program to model this dilemma and reveal the best choice (if there is one!).
Thanks to Project Euler.