Difficulty:
Elementary
Elementary
Tags:
arithmetic, strings
arithmetic, strings
Instructions:
If a number is divisible by 3, return "Fizz". If a number is divisible by 5, return "Buzz". If a number is divisible by 3 and 5, return "FizzBuzz"
If a number is divisible by 3, return "Fizz". If a number is divisible by 5, return "Buzz". If a number is divisible by 3 and 5, return "FizzBuzz"
Problem and Solution:
No comments:
Post a Comment