Hello dear reader, You are probably familiar with the rules of the FizzBuzz programming test, but nevertheless I have the official task for you 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”
To sum it up:
- 1 to 100
- replace multiples of 3 with "Fizz
- replace multiples of 5 with "Buzz
- replace multiples of 3 and 5 with "FizzBuzz