Copying an explanation from a web page is plagiarism and will be treated as such. Please cite the web sites that you used when revising your hypothesis. Prompt for and read the number of rounds. Randomly pick a curtain to hide the prize behind 4. Randomly pick a curtain for the contestant 5.
Count wins if the contestant stays with their original curtain.
Count wins if the contestant switches curtains. Calculate percentage of wins when switching and when not switching. A method that can pick a random number between 1 and 3 might be helpful when writing this program. Think very carefully about this problem before you start writing code. If you think about it correctly you will not need to write any code to simulate switching curtains or zonkers.