Skip to content


Subversion checkout URL

You can clone with
Download ZIP
FizzBuzz Kata
Pull request Compare This branch is even with jeanlaurent:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

FizzBuzz Kata

Part I of the Kata

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

Part II of the Kata

Many of the above rules are the same. In this case, the number 3 becomes Fizz, 5 becomes Buzz, and 7 becomes Woof. The main rules in this game are that any number that contains the number or is divisible by that number is replaced by an occurrence of the word. If the number has 2 instances of that number (i.e. 33 or 55) and is divisible by that number, then the word is said three times in this example. The additional rule is that the words (if more than one occur) must be said in the order given in the title.

References :

Something went wrong with that request. Please try again.