[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Fwd: Please Forward: Ruby Quiz Submission

James Gray

6/3/2007 5:05:00 PM

Begin forwarded message:

> From: James Koppel <darmaniiii@yahoo.com>
> Date: June 1, 2007 12:37:16 PM CDT
> To: submission@rubyquiz.com, submission@rubyquiz.com
> Subject: Please Forward: Ruby Quiz Submission
>
> I look forward to seeing if anyone can cut down this ridiculously-
> simple problem any further (or obfuscate it interestingly).
>
> 1.upto 100 do |n|
> print n unless n % 3 == 0 or n % 5 == 0
> print "Fizz" if n % 3 == 0
> print "Buzz" if n % 5 == 0
> puts
> end
>
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.