Systemcluster / 50-Shades-of-FizzBuzz

Approaching 50 variants of FizzBuzz in C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

50 Shades of FizzBuzz

A collection of (mostly impractical) FizzBuzz solutions.


FizzBuzz is a simple assignment defined as follows:

For the numbers 1 to 100 output:

  • FizzBuzz if the number is divisible by 3 and 5 without remainder,
  • otherwise Fizz if the number is divisible by 3 without remainder,
  • otherwise Buzz if the number is divisible by 5 without remainder,
  • otherwise the number itself.

About

Approaching 50 variants of FizzBuzz in C++

License:zlib License


Languages

Language:C++ 100.0%