Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 

README.md

MontyHallProblem

Here I provide a simulation of the Monty Hall Problem.
This code relates to my blog post Monty Hall Problem – Can You Solve This Maths Puzzle?
And the follow-on blog post Monty Hall Solution - Advanced
And the latest blog post Monty Hall Proof – The Formula
Play my Monty Hall Game on your Android device -Monty Hall Game - and see for yourself while having fun!
Happy coding
Alan

You can use run MontyHallProblem in eclipse (this repo is an eclipse project).


You can put the MontyHallApp.java file in a directory and run the following command line in DOS
md .\classes
javac -d classes MontyHallApp.java
java -cp .\classes com.alancowap.maths.montyhallproblem.MontyHallApp
rd /s/q .\classes


*nix command line (not tested, be in a safe directory)
cd ~
mkdir ./classes
javac -d classes MontyHallApp.java
java -cp ./classes com.alancowap.maths.montyhallproblem.MontyHallApp
rm -rf ./classes

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.