Improving document formatting.
Improving document formatting.
Tested partially negative range.

refs

master
browse log

clone

read-only
https://git.sr.ht/~mjorgensen/fizz-buzz
read/write
git@git.sr.ht:~mjorgensen/fizz-buzz

You can also use your local clone with git send-email.

The Fizz Buzz Test

Inspired by listening to Episode #302 of ATP and reading this article (warning spoilers!) mentioned by ATP, I decided to take a crack at the Fizz Buzz test.

The goal is as follows:

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

My Implementations