Escriban un programa que haga lo siguiente:

"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”."

Lo tienen? no sean vagos.... jajaja haganlo!!!!

Bueno ahora miren este articulo: NO HAGAN TRAMPA!!! Hagan el programa! 

http://weblog.raganwald.com/2007/01/dont-overthink-fizzbuzz.html

Que opinan???

Emmanuel

       
---------------------------------
 Preguntá. Respondé. Descubrí.
 Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta).
 ¡Probalo ya! 
_______________________________________________
ruby mailing list
[email protected]
http://lista.rubyargentina.com.ar/listinfo.cgi/ruby-rubyargentina.com.ar

Responder a