Skip to content

Latest commit

 

History

History
6 lines (6 loc) · 398 Bytes

README.md

File metadata and controls

6 lines (6 loc) · 398 Bytes

javascript

Create a file called fizzbuzz.js Create a loop that prints the numbers 1 through 20 to the console. For each number that is evenly divisible by 3 print the word fizz, instead of the number. For each number that is evenly divisible by 5 print the word buzz, instead of the number. For each number that is evenly divisible by both 3 and 5 print the word fizzbuzz, instead of the number.