-
somebody can help me?
any body can help me, i dont know how to settle my problem.
this question is
a year 366 days called a leap year. a year is leap year if it is divisible by 4 (for example 1980). However, since the introduction of the gregorian calender on october 15, 1582 a year is not a leap year if it is divisible by 100 (for example 1900); however,it ia s leap year if it is divisible by 400 (for example 2000).
somebody can help me how to write a program that asks the user for a year and computes whether that year is a leap year. Implement method boolean isleapyear().
-
Code:
check is divided by 4
then check is divided by 100
then check is divided by 400
xxx
xxx