Write a program that prints numbers from 1 to 100, replacing multiples of 3 with "Fizz," multiples of 5 with "Buzz," and multiples of both with "FizzBuzz."
EasyProblem Statement
Write a program that prints numbers from 1 to 100, replacing multiples of 3 with "Fizz," multiples of 5 with "Buzz," and multiples of both with "FizzBuzz."
Sample Input
1 to 100
Sample Output
1, 2, Fizz, 4, Buzz, Fizz, 7, 8, Fizz, Buzz
Limits
Time: 2s · Memory: 256 MB