Welcome to the Coding Dojo.
This is a little kata to improve your pair programming skills.
Work in pairs, one of you is the driver, the other one the navigator.
Go full TDD:
- Write the test for the next step
- Switch roles
- Then implement the function until the test is green
- Write the test for the next step
- Switch roles
- ...and so on
- Write a function which takes the numbers from 1 to 100 and returns the number
- Adapt the function to return the word
Fizz
if the number is dividable by 5 - Change it to result in
Buzz
when the number is dividable by 7 - The word
FizzBuzz
should be returned if the number is dividable by both 5 and 7 - Ask us about the bonus challenge