Skip to content
This repository was archived by the owner on Mar 17, 2018. It is now read-only.

ed-parry/Monty-Hall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Monty-Hall

Another educational exercise to understand the Monty Hall Problem, written in Java. I also intend to re-write this in C# given the similarities.

For those interested, I get an average of 0.67 probability when the user switches their choice, and 0.34 when they don't.

========== To run the code, it takes two arguments from the CLI; the first being a number of iterations, and the second a binary value as to whether the user would switch or not (1 being switch, 0 not).

About

Another educational exercise to understand the Monty Hall Problem, written in Java.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages