On Sat, Jun 02, 2007 at 09:42:13PM +0900, dblack / wobblini.net wrote: > Hi -- > > On Sat, 2 Jun 2007, Daniel Martin wrote: > > >Ruby Quiz <james / grayproductions.net> writes: > > > >> Write a program that prints the numbers from 1 to 100. > >> But for multiples of three print "Fizz" instead of the > >> number and for the multiples of five print "Buzz". For > >> numbers which are multiples of both three and five > >> print "FizzBuzz". > > > >Anyone care for a friendly game of golf? > >I've got this in 67 characters... > > I'm afraid I'm stuck on 71. Is it OK to post solutions here at this > stage? 67 here too, and nothing really clever in it. $ wc fizzbuzz.rb 0 4 67 fizzbuzz.rb $ ruby fizzbuzz.rb | tail -5 Fizz 97 98 Fizz Buzz