Hi i need a code for this school problem ASAP. I believe its really easy once you get the idea behind it and shouldnt take more than a couple of hours You are a contestant on a game show and have won a shot at the grand prize. Before you are 3 doors.$1,000,000 in cash has randomly been placed behind one door. Behind the other two doors are the consolation prizes of dishwater detergent. The game show host asks you to select a door, and you randomly pick one. However, before revealing the prize behind your door, the game show reveals one of the other doors that contains a consolation prize. At this point, the game show host asks if you would like to stick with your original choice or to switch to the remaining door. Write a function to simulate the game show problem. Your function should randomly select locations for the prizes, select a door at random choosen by the contestant, and the determine whether the constestant would win or loose by sticking with the original choice or switching to the remaining door. You may wish to create additional functions invoked by this function. Next modify your program so that it simulates playing 10000 games. count the number of times the contestant wins when switching vs staying. if you are the contestant, what choice should you make to optimize your chances of the cash or does it not matter
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.
2) Deliverables must be in ready-to-run condition, as follows (depending on the nature of the deliverables):
a) For web sites or other server-side deliverables intended to only ever exist in one place in the Buyer's environment--Deliverables must be installed by the Seller in ready-to-run condition in the Buyer's environment.
b) For all others including desktop software or software the buyer intends to distribute: A software installation package that will install the software in ready-to-run condition on the platform(s) specified in this bid request.
3) All deliverables will be considered "work made for hire" under U.S. Copyright law. Buyer will receive exclusive and complete copyrights to all work purchased. (No GPL, GNU, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site per the coder's Seller Legal Agreement).