r/ProgrammerHumor • • Jan 16 '14

[deleted by user]

[removed]

1.3k Upvotes

446 comments sorted by

View all comments

Show parent comment

1

u/thereddarren Jan 16 '14 edited Jan 16 '14

No, if I did that then I would never have FizzBuzz as a result.

EDIT: but since I did have an else there I could have said:

... if (divisibleBy5) { Console.Write("Buzz"); } else if (!divisibleBy3) { Console.Write(i); }

...