a program in C language to determine if a year is a leap year using 'if-else' statements.

Explanation
Explanation:
1. We first prompt the user to enter a year and store it in the variable 'year'.
2. We then use the 'if-else' statement to check if the year is a leap year.
3. A leap year is divisible by 4 but not by 100, or it is divisible by 400.
4. If the condition is true, we print that the year is a leap year. Otherwise, we print that it is not a leap year.
To explain leap years in detail, you can discuss the concept of leap years, the rules for determining leap years (divisible by 4 but not by 100 unless divisible by 400), historical background, and the significance of leap years in calendars.


Previous :-->> 9. Develop a program in C to calculate the area of a triangle or rectangle based on user input using 'switch-case'. 
NEXT: 11.Create a program in C to determine the BMI category based on user input using 'switch-case'.
-->>ALL Conditionl statements Programs