easy
+5 XP
ALGORITHM

FizzBuzz

Print numbers 1 to n. For multiples of 3 print 'Fizz', 5 print 'Buzz', both print 'FizzBuzz'.
You're exploring as a guest. Create a free account to save progress and submit solutions.
main.jsCtrl+Enter run ยท Ctrl+Shift+Enter submit
Loading...
Console Output
Run your code to see the output here...