AAMani5 / fizzbuzz_with_sophie

Pairing over fizzbuzz

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

Pairing over FizzBuzz

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 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.

Contributors

Sophie McLean & Ashwini Mani

About

Pairing over fizzbuzz

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


Languages

Language:Ruby 100.0%