#define B "bottles of beer"
#define C case
#define P printf
#define R break
a,i,j,s;
main(){
char p[9999],c;
for(;;) {
switch(c=getch()){
C 'H':C 'Q':C '9':C '+': C 3: R;
default:P("Source code contains invalid characters\n");
}
if (c==3) R;
p[s++]=c;
}
for(i=0;i<s;i++){
c = p[i];
switch(c){
C 'H':
P("Hello world!");
R;
C 'Q':
for(j=0;j<s;j++)putchar(p[j]);
R;
C '9':
j=99;
while(j){
P("%d "B" on the wall,\n%d "B".\nTake one down, pass it around,\n%d "B".\n",j,j,j-1);
j--;
}
R;
C '+':
a++;
}
}
}
#define B "bottles of beer"
#define C case
#define P printf
#define R break
a,i,j,s;
main(){
char p[9999],c;
for(;;) {
switch(c=getch()){
C 'H':C 'Q':C '9':C '+': C 3: R;
default:P("Source code contains invalid characters\n");
}
if (c==3) R;
p[s++]=c;
}
for(i=0;i<s;i++){
c = p[i];
switch(c){
C 'H':
P("Hello world!");
R;
C 'Q':
for(j=0;j<s;j++)putchar(p[j]);
R;
C '9':
j=99;
while(j){
P("%d "B" on the wall,\n%d "B".\nTake one down, pass it around,\n%d "B".\n",j,j,j-1);
j--;
}
R;
C '+':
a++;
}
}
}
#define B "bottles of beer"
#define C case
#define P printf
#define R break
a,i,j,s;main(){char p[9999],c;for(;;){switch(c=getch()){C 'H':C 'Q':C '9':C '+': C 3: R;default:P("Source code contains invalid characters\n");}if (c==3) R;p[s++]=c;}for(i=0;i<s;i++){c = p[i];switch(c){C 'H':P("Hello world!");R;C 'Q':for(j=0;j<s;j++)putchar(p[j]);R;C '9':j=99;while(j){P("%d "B" on the wall,\n%d "B".\nTake one down, pass it around,\n%d "B".\n",j,j,j-1);j--;}R;C '+':a++;}}}
#define B "bottles of beer"
#define C case
#define P printf
#define R break
a,i,j,s;main(){char p[9999],c;for(;;){switch(c=getch()){C 'H':C 'Q':C '9':C '+': C 3: R;default:P("Source code contains invalid characters\n");}if (c==3) R;p[s++]=c;}for(i=0;i<s;i++){c = p[i];switch(c){C 'H':P("Hello world!");R;C 'Q':for(j=0;j<s;j++)putchar(p[j]);R;C '9':j=99;while(j){P("%d "B" on the wall,\n%d "B".\nTake one down, pass it around,\n%d "B".\n",j,j,j-1);j--;}R;C '+':a++;}}}