Created
December 26, 2024 01:10
-
-
Save fjh1997/b4f6dbc21ecdbbaed9b57281138d25bd to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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