program to display fizzBuzz in javaScript
if input...
Divisible by 3 then return => Fizz
Divisible by 5 then return => Buzz
divisible by both 3 and 5 then return => FizzBuzz
Not divisible by 3 or 5 then return => number
Input is not numbered then return => Not a Number
Top comments (0)