public static void Main()
Console.WriteLine("Please enter a year:");
string yearString = Console.ReadLine();
int year = Convert.ToInt32(yearString);
bool leap = (year % 4 == 0) && ( (year % 100 != 0) || ((year % 100 == 0) && (year % 400 == 0)) );
Console.WriteLine(year + " is a leap year.");
Console.WriteLine(year + " is not a leap year.");
Console.WriteLine("It seems there was a problem. \nAre your sure you input a year? \nIf you did, please try a year closer to the present.\nYears too far into the future do not work with this program. \nPlease run the program again.");