leap year by elb

while 1=1do let i=read_int()in Printf.printf"%d is%s a leap year.\n"i[|" not";""|].(i/400*400/i-i/100*100/i+i/4*4/i)done

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

download

return to the top page