FizzBuzz
Easy📝 Description
For numbers from 1 to n, print "Fizz" for multiples of 3, "Buzz" for multiples of 5, and "FizzBuzz" for multiples of both.
Input Format
A single integer n (1 ≤ n ≤ 100)
Output Format
n lines with the appropriate FizzBuzz output
Constraints
1 ≤ n ≤ 100
🔍 Sample Input
5
✅ Sample Output
1
2
Fizz
4
Buzz
Code Editor
Please login to run and submit code.
Results
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run