r/programbattles • • Oct 08 '15

C# [C] Obfuscated FizzBuzz

Everyone knows FizzBuzz. Write a version, in C, that, upon reading, would not appear to be FizzBuzz, but still presents the appropriate output (integer, Fizz, Buzz, or FizzBuzz, one per line).

9 Upvotes

14 comments sorted by

View all comments

Show parent comment

1

u/SovreignTripod Oct 09 '15

You forgot the fizzbuzz! It reutns fizz, buzz or the number but never fizzbuzz.

1

u/WhyJustOne Oct 09 '15

You clearly missed it. There's no other way to see it. Good to know the solution does do the job.

1

u/SovreignTripod Oct 09 '15

Whups I see how it works. Clever!