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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!