Make menu by JH

#define x(P,Q) if(*A==P){Q;printf("%d\n",b);}\x0d
main(){char a[99],*A=&a,b=0;scanf("%s",a);for(;*A!='q';A++){x(43,b++)x(94,b*=b)x(47,b/=2)x(113,break)}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page