filmov
tv
Leap Year Program: C Programming

Показать описание
In this video tutorial: inside if block we first check if the entered number is a century year. If yes, then we see if it’s perfectly divisible by 400. It true, then its a leap year. If not, its not a leap year.
If the control shifts to else block then the entered year is not a century year. So we check if the year is perfectly divisible by 4. If yes, then it’s a leap year. If not, it’s not a leap year.
C Programming: Beginner To Advance To Expert