FizzBuzz With Box-Drawing Macros
#define ╔ #define ║ #define ═ #define ╚ #define ╗ { #define ╝ } int main() for (int i = 0; i < 100; i++) if (i % 15) printf("fizzbuzz "); else if (i % 3) printf("fizz "); else if (i % 5) printf("buzz "); else printf("%d ", i);
A C program displays the FizzBuzz exercise inside elaborate box-drawing borders. The joke is that the divisibility conditions are reversed, so the program prints the wrong result for nearly every number while looking unnecessarily complicated. It is a reaction meme about overengineering simple programming tasks. EN: A C program displays the FizzBuzz exercise inside elaborate box-drawing borders. The joke is that the divisibility conditions are reversed, so the program prints the wrong result for nearly every number while looking unnecessarily complicated. It is a reaction meme about overengineering simple programming tasks.
- @ithueti / 14885 2024-12-25
- @pokupkabitka / 46957 2024-12-25
- Type
- image
- Size
- 800×787 · 73.1 KiB
- Mood
- саркастичный, абсурдный
- Language
- en
- Added