Question: 3. Write a program that accepts a year and determines whether the year is a leap year. The rules for the determining leap years in
3. Write a program that accepts a year and determines whether the year is a leap year. The rules for the determining leap years in the Gregorian calendar are as follows. . All years evenly divisible by 400 are leap years. 2. Years evenly divisible by 100 but not by 400 are leap years. 3. Years evenly divisible by 4 but not by 100 are leap years. 4.All other years are not leap years
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
