leap year by pooq

File standardInput readLines map(asNumber)map(v,writeln(v," is ",if((v mod(100)>0)!=(v mod(4)>0)==(v mod(400)>0),"","not "),"a leap year."))

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

download

return to the top page