A game we play on the bus. Count up from one. If the numberdivides by three you say fizz instead of the number, if itdivides by five you say buzz, and if it divides by both yousay fizzbuzz. Print the first hundred so we can settle anargument about who got 51 wrong.Write your requirements list before you write any code. Input, calculate, output, and anything you had to decide for yourself.
12Fizz4BuzzFizz78FizzBuzz11Fizz1314FizzBuzz16If 15 prints as Fizz rather than FizzBuzz, your checks are in the wrong order — and nothing in your terminal will tell you so.
Settle the argument while you are here. Check what your program prints for 51, and be able to say why.
Your requirements list and your program file, named cc-fizz-buzz.