to input a year and check whether it is a leap year or not. (a year 8s a leap year if year %400==0)
Answers
Answered by
0
Answer:
Explain little extended
Answered by
1
Answer:
Every year that is exactly divisible by four is a leap year, except for years that are exactly divisible by 100, but these centurial years are leap years if they are exactly divisible by 400. ... The years 1600, 2000 and 2400 are leap years, while 1700, 1800, 1900, 2100, 2200 and 2300 are not leap years.
Similar questions