Skip to content

jonathan-meyer/fizz-buzz

Repository files navigation

Fizz-Buzz

Simple app to show that I know how to program

Requirements

  • given numbers 1 to 100
  • print out "Fizz" if the number is divisible by 3
  • print out "Buzz" if the number is divisible by 5
  • print out "Bang" if the number is divisible by 7
  • print out "Pop" if the number is divisible by 11
  • if a number is divisible by more than one of the above numbers then print out each corresponding word
  • otherewise simply print the number

Module install

yarn add @stej/fizz-buzz

Module Usage

const fizzbuzz = require("@stej/fizz-buzz");
console.log(fizzbuzz(11));

About

Simple app to show that I know how to program

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •