On Jun 1, 2007, at 7:28 AM, Ruby Quiz wrote: > Pretend you've just walked into a job interview and been hit with > this question. Solve it as you would under such circumstances for > this week's Ruby Quiz. This is my solution from the time when I was considering this as a quiz. #!/usr/bin/env ruby -w 1.upto(100) do |i| if i % 5 == 0 and i % 3 == 0 puts "FizzBuzz" elsif i % 5 == 0 puts "Buzz" elsif i % 3 == 0 puts "Fizz" else puts i end end __END__ James Edward Gray II