Google Groups Home Help | Sign in
Message from discussion Bowling Game once more
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
ig...@yahoo.com  
View profile
 More options Jan 3 2005, 4:24 pm
Newsgroups: comp.object
From: ig...@yahoo.com
Date: 3 Jan 2005 13:24:41 -0800
Local: Mon, Jan 3 2005 4:24 pm
Subject: Re: Bowling Game once more
Now you understand that, you'll understand this:

Start = score [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,10,5,3] 0

score [x,y] total   = total+x+y
score [x,y,z] total = total+x+y+z

score [x,y,z : rest] total
| x == 10     = score [y,z : rest] (total+x+y+z)
| x+y == 10   = score [z : rest]   (total+x+y+z)
| otherwise   = score [z : rest]   (total+x+y)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google