-
Notifications
You must be signed in to change notification settings - Fork 0
/
hell.c
18 lines (13 loc) · 985 Bytes
/
hell.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*Program is supposed to print HELL in the form of ASCII Art consisting of radiation symbols and cross-skulls, but instead produces a hellish error. :/ */
#include<stdio.h>
#define X \xE2\x98\xA0; //Prints radioactive symbol
#define O \xE2\x98\xA2; //Prints cross-skull
int main(){
while(getchar()!=3){
printf("%c%c%c%c %c%c%c%c %c%c%c%c%c%c%c%c %c%c %c%c\n", X, X, X, X, X, X, X, X, O, O, O, O, O, O, O, O, X, X, O, O);
printf("%c%c%c%c %c%c%c%c %c%c %c%c %c%c%c\n", X, X, X, X, X, X, X, X, O, O, X, X, O, O, O);
printf("%c%c%c%c%c%c%c%c%c%c%c%c %c%c%c%c%c%c %c%c %c%c%c\n", X, X, X, X, X, X, X, X, X, X, X, X, O, O, O, O, O, O, X, X, O, O, O);
printf("%c%c%c%c %c%c%c%c %c%c %c%c %c%c%c\n", X,X, X, X, X, X, X, X, O, O, X, X, O, O, O);
printf("%c%c%c%c %c%c%c%c %c%c%c%c%c%c%c%c %c%c%c%c%c%c%c%c %c%c%c%c%c%c%c%c%c\n\n", X, X, X, X, X, X, X, X, O, O, O, O, O, O, O, ,X, X, X, X, X, X, X, X, O, O, O, O, O, O, O, O, O, O);
}
}