C++ Program to Check Leap Year

| Last Updated: | In: C++ Tutorial


This program will check the entered year by the user is a leap year or not. In this program, we have used the if…else statement to check the leap year. Pseudo code to check leap year if year is divisible by 4 then is_leap_year else if year is divisible by 100 then not_leap_year else year …

Check Leap Year in C

| Last Updated: | In: C Programming Tutorial


I assume that you have knowledge of C programing language operators and the If.. else statement of c programming. A leap year comes after every 4 years. In the mathematical term, you can say A year which is divisible by 4 except the century years (years which ends with 00). Program to check entered year …