From: Robert Dober Date: 2007-06-03T20:11:01+09:00 Subject: Re: [QUIZ] FizzBuzz (#126) On 6/3/07, Sun Park wrote: > A non-golf solution of mine : > > for n in (1..100) > if n%3==0 && n%5==0 > puts "FizzBuzz" > elsif n%3==0 > puts "Fizz" > elsif n%5==0 > puts "Buzz" > else > puts n > end > end > > Does above code fit for a job interview? :) No idea, the recruiters are not here yet, they will arrive in an hour and half ;) R. > -- You see things; and you say Why? But I dream things that never were; and I say Why not? -- George Bernard Shaw