leap year by Zaren

using System;class p{static void Main(){var x="";while(x!=null){int y=int.Parse(x=Console.ReadLine());Console.WriteLine(y+" is"+(y%4<1&&y%100>0||y%400<1?"":" 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