leap year by Super-Tomato

<?while($s=fgets(STDIN)/1)echo"$s is ".($s%4==0&&$s%100!=0||$s%400==0?"":"not ")."a leap year.\n";

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

download

return to the top page