This one is a classic. It is an old timer that is sometimes asked in interviews. You'd be surprised by the number of people who cannot properly do this.
Do the exercise in the language you know the least, or one you have been willing to learn.
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".
Extra points are awarded for creativity and exotic languages.
Do the exercise in the language you know the least, or one you have been willing to learn.
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".
Extra points are awarded for creativity and exotic languages.