leap year by pooq

while(y:?read(?-,?-,~))#~do printf(?t,"~d is~a a leap year.
",y,if mod(y,400)=0or mod(y,100)>0and mod(y,4)=0then""else" not");

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

download

return to the top page