Skip to content

Latest commit

 

History

History
9 lines (5 loc) · 348 Bytes

README.md

File metadata and controls

9 lines (5 loc) · 348 Bytes

FizzBuzz: A JavaScript Program

A short program that displays each number from 1 to 100, replacing multiples of the numbers inputed by the user (e.g. 3 and 5) as follows:

  • For each multiple of 3, "Fizz" is displayed.
  • For each multiple of 5, "Buzz" is displayed.
  • For numbers which are multiples of both 3 and 5, "FizzBuzz" is displayed.