FizzBuzz
Medium · Loops · for · Conditionals · Arithmetic
Problem
For the numbers 1 to 15, print one per line:
- FizzBuzz when divisible by both 3 and 5
- Fizz when divisible by 3
- Buzz when divisible by 5
- the number otherwise
Approaches
- Check 15 first
Related problems
Start free on Cariara · Coding problems · System design studio