A simple Fortran program to demonstrate the correct solution to the Monty Hall problem. After compilation, a number of run cycles must be specified, after which the program prints the result of either strategy (keep/change) to the files keep.dat and change.dat and to standard output. For a suitably large number of cycles, the expected result (change succeeds 2/3 of the time) is obtained.
-
Notifications
You must be signed in to change notification settings - Fork 0
Demonstration of solution to Monty Hall problem
License
archon88/montyhall
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Demonstration of solution to Monty Hall problem
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published