Roger's Monty Hall programs were a bit complicated for me to figure out. To simplify my life, I decided to look at this in another domain. Here, the player's pick is represented by choice 0, and the car is choice ?3. Monty picks randomly from the remaining choices for the choice he reveals.
The programs are then: stick=:3 :0 +/0=?y#3 ) switch=:3 :0 +/0~:?y#3 ) -- Raul
---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
