[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LOGO-L> http://www.ionet.net/~timtroyr/funhouse/beer.html#unique



At 8:23 AM -0500 3/23/98, Rena Schklowsky wrote:
[snip]

>However, your solution does not take into consideration the singular case (1
>bottle of beer). Wouldn't you have to include the statement
>if :how-many = 1 [print sentence [1 bottle of beer on the wall]
>print sentence [1 bottle of beer]
>print [take one down, pass it around,]
>print sentence [1 bottle of beer on the wall]]
>or something like that (I guess we can work on that in Colorado this summer).
>

Sure.  The reason I didn't do it in the posting was because taking that
case into account adds a bunch of code that makes the overall program less
clear.  For a more refined program that (and probably some other little
things) should be taken care of.

Yes, is a good exercise for Colorado, or your students at PS 9.

-Michael

--------------------------------------------------------
Michael Tempel                    tel: 212 579 8028
Logo Foundation                   fax: 212 579 8013
250 West 85th Street              michaelt@media.mit.edu
New York  NY 10024
http://el.www.media.mit.edu/logo-foundation/


---------------------------------------------------------------
Please post messages to the Logo forum to logo-l@gsn.org.  Mail
questions about the list administration to logofdn@gsn.org.  To
unsubscribe send    unsubscribe logo-l    to majordomo@gsn.org.



Global SchoolNet Foundation - Linking Kids Around the World!
Copyright GSN - All Rights Reserved - Comments & Questions
Visit GSN's Global Schoolhouse for more exciting learning resources!
Search our Site - Home