Monty Hall problem: Difference between revisions
m
→{{header|EasyLang}}
m (→{{header|Wren}}: Changed to Wren S/H) |
|||
Line 1,351:
=={{header|EasyLang}}==
{{trans|FreeBASIC}}
<syntaxhighlight
max = 1000000
for i = 1 to max
car_door =
chosen_door =
if car_door <> chosen_door
montys_door = 6 - car_door - chosen_door
else
repeat
montys_door =
until montys_door <> car_door
.
|