Write a program to display days in the given year. Check condition from leap year. A year is a leap
year if it is divisible by 4 but not by 100, except that years divisible by 400 are leap years.
a. Without using logical operators
b. Using logical operators
c. Conditional operators
year if it is divisible by 4 but not by 100, except that years divisible by 400 are leap years.
a. Without using logical operators
b. Using logical operators
c. Conditional operators
No comments:
Post a Comment