Skip to content

Latest commit

 

History

History
15 lines (8 loc) · 511 Bytes

README.md

File metadata and controls

15 lines (8 loc) · 511 Bytes

monty-hall

Usage: ./monty-hall.pl [iterations]

Where iterations is a number greater then 0

Description

Proof for the Monty Hall Problem by way of a Monte Carlo Simulation.

This shows that switching doors during a Monty Hall Game results in a 66% chance of winning while keeping your first choice results in a 33% chance of winning.

Monty Hall Problem Description

Monte Carlo Method Description