@learningandteachingcoding07
First of all, it is important to know what is leap year?
Generally, a year has 365 days in a year, but a leap year has 366 days which comes after four year.
A leap year is a year, which is different than a normal year having 366 days instead of 365.
A leap year comes once in four years, in which February month has 29 days which means a year becomes a Leap year.
Some leap years examples are - 1600, 1996, 2000, and 2004.
Although 1800, and 1900 are century years, not leap years.
conditions are used in this video to check that year is a leap year or not.
1] Year must be divisible by 4
2] Year is divisible by 400 and not divisible by 100
#LearningandTeachingCoding
#CProgrammingTutorials
#CPrograms