Skip to content

codeadamca/javascript-monty-hall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Monty Hall Problem

The Monty Hall problem is based on an American television game show and named after its host, Monty Hall. The problem goes like this:

Suppose you're on a game show, and you're given the choice of three doors. Behind one door is a car; behind the others, goats.

Month Hall Problem

You pick a door, say number one. Then the host, who knows what's behind the doors, opens another door, say nuymber three, which reveals a goat.

The host then says to you, "Do you want to keep your original foor, or switch to door number two?"

Is it to your advantage to switch your choice?

This repo will use JavaScript to prove the Monty Hall problem.


Repo Resources


About

Using JavaScript to prove the Monty Hall problem.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages