GNG 1106 Lecture Notes - Lecture 3: Monty Hall Problem, Monty Hall, Polskie Radio Program I

216 views13 pages

Document Summary

Program that computes a main menu consists of game mode, research mode, and. Game mode will be giving results of user"s winning after choosing a door and making a decision to switch or remain. Research mode will be giving the percentage of winning probability after the user enters the type of the test and the amount of trials: input-output description. The user will enter a number of 1 or 2 or 3. The output of it will be game mode (if the user chooses 1), research mode (if the user chooses 2), or. Input 1 is: choose a door (1, 2, 3) output 1 is: door chosen. Input 2 is: choice to switch door (1, 2) output 2 is: position of present, number of winnings, Input 1 is: test option (1 or 2) Output 2 is: number of winnings, number of games played, percentage winning: pseudo code.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents