Practice ยท 2 of 4
FizzBuzz Function
Implement const char* fizzbuzz(int n): "fizzbuzz" when divisible by 15, "fizz" by 3, "buzz" by 5, else "no".
Difficulty: beginner
Press Submit to check your solution.
Back to lesson: Practice: Decomposition
Practice ยท 2 of 4
Implement const char* fizzbuzz(int n): "fizzbuzz" when divisible by 15, "fizz" by 3, "buzz" by 5, else "no".
Difficulty: beginner
Back to lesson: Practice: Decomposition