Instruction

1

Divide the numeric value of the

Example.

2008

2011

2008

**year**and 4. Those**year**and that will not be a multiple of 4, do not apply to leap year.Example.

2008

**year**/ 4 = 5022011

**year**/ 4 = 502,752008

**year**is a leap year (evenly divided), according to the rule of step 1, 2011 is not a leap year (divisible with remainder).2

After successful completion of step 1, divide the numeric value of the

If

Example.

2104

2104 / 100 = 21,04

2104

According to the rule of step 2, it is a leap year. 2100

2100 / 100 = 21

2100

But here too there may be exceptions. For more accurate calculation, follow step 3.

**year**and on 100.If

**the year**is divisible by 100 without remainder, this**year**will not be a leap year, even if it was successfully divided into 4.Example.

2104

**year**/ 4 = 5262104 / 100 = 21,04

2104

**year**is a multiple of 4 but not multiple of 100 (when the division turned out the rest).According to the rule of step 2, it is a leap year. 2100

**year**/ 4 = 5252100 / 100 = 21

2100

**a year**is a multiple of 4 but a multiple of 100. According to the rule of step 2, it is not a leap year.But here too there may be exceptions. For more accurate calculation, follow step 3.

3

Need

Example.

2100

2100 / 100 = 21

2100 / 400 = 5.25 in

2100

2000 / 100 = 20

2000 / 400 = 5

2000

**year**, the numerical value which was a multiple of 4, and 100 divided by 400. If it divided without a remainder, then**the year**, after all, a leap!Example.

2100

**year**/ 4 = 5252100 / 100 = 21

2100 / 400 = 5.25 in

2100

**year**not divisible by 400, then, according to all the rules, he's not високосный2000**year**/ 4 = 5002000 / 100 = 20

2000 / 400 = 5

2000

**year**evenly divisible by 4, 100, but at 400. Consequently, according to the rule of step 3, it is a leap.Useful advice

To date, the rule for computing a leap year is limited to step 3 and shall, after the adoption of the Gregorian calendar. Such an algorithm would have to be developed because the year accumulated extra minutes, which in a few centuries has led to a shift in the calendar relative to the equinox days.