while 1=1do Scanf.scanf"%f "(fun n->let m=truncate(n+.0.5)in Printf.printf"%d "(if float m-.n=0.5then m/2*2else m))done
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page