Monty Hall problem: Difference between revisions
Content deleted Content added
m Semi-automated edit: Bash -> UNIX Shell |
m →Icon and Unicon: header simplification |
||
Line 921:
! plays=1E6; switchWins=667167; stayWins=332833;</lang>
==
<lang Icon>procedure main(arglist)
Line 946 ⟶ 945:
Strategy 1 'Staying' won 0.3266
Strategy 2 'Switching' won 0.6734</pre>
=={{header|J}}==
|