leap year by tensaix2j

foreach a [read stdin] {puts "$a is[expr $a%400&&!($a%100)||$a%4?{ 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