Skip to content

Instantly share code, notes, and snippets.

@fjh1997
Created December 26, 2024 01:10
Show Gist options
  • Save fjh1997/b4f6dbc21ecdbbaed9b57281138d25bd to your computer and use it in GitHub Desktop.
Save fjh1997/b4f6dbc21ecdbbaed9b57281138d25bd to your computer and use it in GitHub Desktop.
#define ╔
#define ║
#define ═
#define ╚
#define ╗ {
#define ╝ }
╔═════════════ int main() ═════════════╗
║ ╔═ for (int i = 0; i < 100; i++) ══╗ ║
║ ║ ╔═══if (i % 15 == 0)═══╗ ║ ║
║ ║ ║ printf("fizzbuzz "); ║ ║ ║
║ ║ ╚══════════════════════╝ ║ ║
║ ║ ╔═else if (i % 3 == 0)═╗ ║ ║
║ ║ ║ printf("fizz "); ║ ║ ║
║ ║ ╚══════════════════════╝ ║ ║
║ ║ ╔═else if (i % 5 == 0)═╗ ║ ║
║ ║ ║ printf("buzz "); ║ ║ ║
║ ║ ╚══════════════════════╝ ║ ║
║ ║ ╔════════ else ════════╗ ║ ║
║ ║ ║ printf("%d ", i); ║ ║ ║
║ ║ ╚══════════════════════╝ ║ ║
║ ╚══════════════════════════════════╝ ║
╚══════════════════════════════════════╝
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment