|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| MWForum Message | [Date Index] [Threads] [Authors] [Attachments] [Subscribe] | ||||||||
A solution to the problem in a manual way might be as follows: Throw the dice and write down the number shown. If that number occurred again it would not be recorded. The process continues until the last number is thrown, this is recorded and the count of throws stopped. A list can be used to record the numbers (starting with an empty list), e.g. make "num.list fput :number :num.list. member? :number :num.list, determines if a number is already in the list. What can be used to determine when the throws are stopped? Mike ----- Original Message ----- From: "Ask an Expert - Question" <askanexpert@xxxxxxxxxxxxxxxxxxxxx> To: <mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> Sent: Thursday, May 18, 2006 3:26 PM Subject: MIA, Ask an Expert: dice counts This is an automatic message sent from the web form at: http://mia.openworldlearning.org/mwforum.htm To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file. | |||||||||