Question: LEAP YEAR: You should write a code that can correctly identify whether a year entered is a leap year (years AD only!) Ex: 2000 IS
LEAP YEAR: You should write a code that can correctly identify whether a year entered is a leap year (years AD only!)
Ex: 2000 IS a leap year, 2001 is not, 2002, is not, 2003 is not, but 2004 IS a leap year.
Your code should do the following:
1. Collect a year from the user.
2. Determine whether that year is indeed a leap year.
3. Report to the user whether or not it is a leap year.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
