Skip to content

Maikon/FizzBuzz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Solution(s) to the FIzzbuzz challenge with the equivalent tests.

The game:

  • Any number divisible by 3 should return fizz
  • Any number divisible by 5 should return buzz
  • Any number divisible by both 5 and 3 should return fizzbuzz

How to use

Clone the repository with

git clone git@github.com:Maikon/FizzBuzz.git

Switch to it with

cd fizzbuzz

Then run the following command:

ruby fizzbuzz.rb

If you have rspec installed, you can also run the tests with:

rspec spec/fizzbuzz_spec.rb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages