AAMani5 / fizzbuzz

Pairing over fizzbuzz code kata

Home Page:https://github.com/makersacademy/pre_course/blob/master/exercises/fizzbuzz.md

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Week 4 Challenge 1

Introduction to Test Driven Development (TDD) and Pair Programming

What is Fizzbuzz?

Fizzbuzz is a simple coding challenge, often described as a code kata. The objective of Fizzbuzz is to create a program with the following specification:

  • The program can be passed a parameter - number or any other type.
  • 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'.
  • When passed any other number, the program simply returns the given number. In all other cases(string, array etc), the program simply returns an error message.

Contributors

Sami Mason & Ashwini Mani

On 23rd Jan 2017, Sami & Ashwini pair programmed to delivery this miracle! Earthlings, Enjoy!

About

Pairing over fizzbuzz code kata

https://github.com/makersacademy/pre_course/blob/master/exercises/fizzbuzz.md


Languages

Language:Ruby 100.0%