Skip to content

Having too much fun with fizz_buzz as an example for a coding challenge

License

Notifications You must be signed in to change notification settings

PragTob/fizz_buzz

Repository files navigation

FizzBuzz

A solution to FizzBuzz in multiple steps with some extensions. For fun and profit.

Write a program 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”.

Setup

For used software versions see .tool-versions

After checking out the repo, run bin/setup to install dependencies. Then, run rspec spec to run the tests. You can also run bin/console for an interactive prompt that will allow you to experiment.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the FizzBuzz project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

About

Having too much fun with fizz_buzz as an example for a coding challenge

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published