leap year by oofoe

REBOL[]d: func[y][to-date reform[y 1 1]]while[i: input][i: to-integer i print rejoin [i " is " either 365 = ((d i + 1) - d i)["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