Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 392 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 392 Bytes

FizzBuzz

Build a function that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are multiples of both three and five print “FizzBuzz”.

  • Write a function that takes no parameters
  • The function should output the numbers 1 through 100, following the rules from above