Make menu by alex

import std.c.stdio,std.stdio;void main(){for(int x,c;scanf("%c",&x)>0;)switch(x){case'+':writeln(++c);break;case'^':writeln(c*=c);break;case'/':writeln(c/=2);break;default:return;}}

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

download

return to the top page