February in the calendar
2024 → Yes (29 days in February)
·if (y % 4 == 0 and y % 100 != 0) or (y % 400 == 0):
Calendars add Feb 29 every 4 years — except century years unless divisible by 400. Real calendar apps use the same boolean rules you will code.
Divisible by 4, but century years need 400.
You decide whether a year has 28 or 29 days in February by checking divisibility rules.
Used in calendars, reminder apps, scheduling systems, subscriptions, and date calculations.
People born on leap day celebrate on Feb 28 or Mar 1 in common years. Apps must know 2024 → Yes, 1900 → No, 2000 → Yes before scheduling reminders.
Yes or No for input year.