Make menu by smkt

main(x,y){x=0;while(1){y=getchar();x=y==43?x+1:y==47?x/2:y==94?x*x:x;if(y>94)break;printf("%d\n",x);}}

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

download

return to the top page