From: Dat Nguyen Date: 2001-07-22T07:21:25+09:00 Subject: [ruby-talk:18269] 99 bottles of sake

I would like to present the inventor of Ruby with a bottle of sake. Could somebody advise me a liquor store near Matz.'s place with a web site and accept VISA?

Feel free to join me to make the number 99. Let's write a new shortest and most readable ruby program that displays:

One bottle of sake for Matz, one bottle of sake.

Call the store, add one more.

Two bottles of sake for Matz.

...

Ninety-eight bottles of sake for Matz,

Call the store, add one more.

Ninety-nine bottles of sake for Matz, add no more.

 

Dat

 



Get your FREE download of MSN Explorer at http://explorer.msn.com