Anonymous user
Monty Hall problem: Difference between revisions
→{{header|bash}}
Line 352:
done
# Output the result of this round
#echo "Round $[$nbase+current_round]: "
echo -n "Player chooses #$[$nbase+$player_picks_door]. "
Line 378:
num_lose=$[num_lose+1]
}
} # end of function one_round
# ok, let's go
|