Monty Hall problem: Difference between revisions

m
m (→‎{{header|Wren}}: Changed to Wren S/H)
Line 1,351:
=={{header|EasyLang}}==
{{trans|FreeBASIC}}
<syntaxhighlight lang=easylang>
max = 1000000
for i = 1 to max
car_door = randomrandint 3
chosen_door = randomrandint 3
if car_door <> chosen_door
montys_door = 6 - car_door - chosen_door
else
repeat
montys_door = randomrandint 3
until montys_door <> car_door
.
1,982

edits