Skip to content

archon88/montyhall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

montyhall

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.

About

Demonstration of solution to Monty Hall problem

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published