Skip to content

Commit fb4174e

Browse files
authored
Update README.md
1 parent 930c6be commit fb4174e

1 file changed

Lines changed: 0 additions & 20 deletions

File tree

module 09/ex00/README.md

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1 @@
1-
### **Leap Year** 🗓️
21

3-
A **leap year** is a year with **366 days** (instead of 365) to keep our calendar aligned with Earth’s orbit around the Sun. An extra day is added to **February (29 days)**.
4-
5-
#### **Leap Year Rules:**
6-
A year is a leap year if:
7-
1️⃣ **Divisible by 4** → ✅ Possible leap year.
8-
2️⃣ **Divisible by 100** → ❌ Not a leap year (exception below).
9-
3️⃣ **Divisible by 400** → ✅ Leap year.
10-
11-
#### **Why These Rules?**
12-
- Earth takes **365.2425 days** to orbit the Sun.
13-
- Adding **1 day every 4 years** corrects the 0.2425-day drift.
14-
- Skipping leap years every **100 years** prevents overcorrection.
15-
- Keeping leap years every **400 years** prevents undercorrection.
16-
17-
#### **Examples:**
18-
**Leap Years** → 1600, 2000, 2024
19-
**Not Leap Years** → 1700, 1800, 1900, 2100
20-
21-
This system keeps our calendar **accurate and synchronized** with the seasons! 🌍✨

0 commit comments

Comments
 (0)