Learning Goal: I’m working on a java question and need an explanation and answer

Learning Goal: I’m working on a java question and need an explanation and answer to help me learn.Hello. I will be attaching the java code for the Monty Hall problem. The whole code for it will be provided. This was the prompt for the code:Suppose you’re on a game show, and you’re given the choice of three doors: Behind one door is a car; behind the others, goats. You pick a door, say No. 1, and the host, who knows what’s behind the doors, opens another door, say No. 3, which has a goat. He then says to you, “Do you want to pick door No. 2?” Is it to your advantage to switch your choice?Write java code to run the game 1000 times where the player employs the “Staying” strategy, and keep track what percentage of times she won. And then, to run the game 1000 times where the player employs the “Switching” strategy, and keep track what percentage of times she won.So what I need help with is to write JUNIT 4 test cases for the class SwitchingPlayer. Thats it. Thank you. https://codeshare.io/QnlNMJhere is the Link to the code share I can’t upload the files because there are 7 classes.
Requirements: however long it needs to be   |   .doc file

Leave a Reply

Your email address will not be published.