What is your solution to the FizzBuzz problem?
Posted
by saniul
on Stack Overflow
See other posts from Stack Overflow
or by saniul
Published on 2008-08-02T12:53:19Z
Indexed on
2010/03/12
1:37 UTC
Read the original article
Hit count: 395
See here
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".
Disclaimer: I do realize this is easy, and I understand the content of the Coding Horror post I just linked to
© Stack Overflow or respective owner