Skip to content

lamdav/MontyHallSim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MontyHallSim

A Monty Hall Problem Simulator

Description:

This is a simple Monty Hall Simulator. The program will simulate the Monty Hall Problem given 3 possible options. The program can be used manually or automated. The program is intended to be used via the command line. Probability of success if switching should converge to ~0.67 (2/3).

How to use:

Download the repository and create a runnable jar file. Navigate to the created jar file location via command line. Execute the following command:

     $ java -jar <NameOfJar>.jar -a <Limiter>

Note: -a is a optional argument. Without it, the program will allow for manual inputs. If used, a limiter is required; otherwise, it will default to manual input request.

About

A Monty Hall Problem Simulator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages