Skip to content

VytisVA/fizzbuzzv3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Fizzbuzz

The objective of Fizzbuzz is to create a program with the following specification: The program can be passed a number. When passed a number that is a multiple of 3, the program returns the message 'Fizz'. When passed a number that is a multiple of 5, the program returns the message 'Buzz'. When passed a number that is a multiple of both 3 and 5, the program ignores the previous 2 rules and returns the message 'Fizzbuzz'. In all other cases, the program simply returns the given number.

Getting started

gem install rspec creating a new file calling it fizzbuzz_spec.rb creating test create a file fizzbuzz.rb Fix the code

Usage

Navigate to https://github.com/VytisVA/fizzbuzzv3

Running tests

rspec

About

Quick fizzbuzz kata

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages