------Input------ 2012 ------Answer----- leap year ------Your output----- Enter a year: 2012 is a leap year.