-
-
Save eatnumber1/8970939 to your computer and use it in GitHub Desktop.
This file contains 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 IF if( | |
#define THEN ) | |
#define BEGIN { | |
#define END } | |
#define PRINT printf | |
#define GROUP ( | |
#define ENDGROUP ) | |
#define NEXT ; | |
#define COUNT for ( | |
#define WITH int | |
#define FROM = | |
#define UPTO ; i < | |
#define DO ; i++ ) | |
#include <stdio.h> | |
int main() { | |
COUNT WITH i FROM 0 UPTO 10 DO BEGIN | |
IF i % 2 == 0 THEN BEGIN | |
PRINT GROUP "%d: Hello World!\n", i ENDGROUP | |
NEXT END | |
NEXT END | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment