Make menu by amat

a,i;main(){for(;i=~getchar();printf("%d\n",a=(i&=7)?i&3?i&2?exit(a),a:a*a:a+1:a/2));} 

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

download

return to the top page