Leap year

This query is : Resolved 

29 February 2012 Sir,

How to calculate leap year

2012/4 the answer is not 0

Please give simple way to calculate.

Thanks & Regards

29 February 2012 The last 2 digits of the year should be multiple of 4. Divide the last 2 digits and the remainder should be 0

2012 - Last 2 digits 12. Divided by 4. Remainder is 0

2008 - Last 2 digits 08. Divided by 4. Remainder is 0.


29 February 2012 In general terms the algorithm for calculating a leap year is as follows...

A year will be a leap year if it is divisible by 4 but not by 100. If a year is divisible by 4 and by 100, it is not a leap year unless it is also divisible by 400.

Thus years such as 1996, 1992, 1988 and so on are leap years because they are divisible by 4 but not by 100. For century years, the 400 rule is important. Thus, century years 1900, 1800 and 1700 while all still divisible by 4 are also exactly divisible by 100. As they are not further divisible by 400, they are not leap years.


29 February 2012 Agree with Experts



You need to be the querist or approved CAclub expert to take part in this query .
Click here to login now

Join CCI Pro
CAclubindia's WhatsApp Groups Link


Similar Resolved Queries


loading


Unanswered Queries