Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.

Create 18EC10014_leap- year-or -not.cpp #822

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

18EC10014
Copy link

We generally assume that if a year number is evenly divisible by 4 is leap year. But it is not the only case. A year is a leap year if − It is evenly divisible by 100. If it is divisible by 100, then it should also be divisible by 400.

We generally assume that if a year number is evenly divisible by 4 is leap year. But it is not the only case. A year is a leap year if − It is evenly divisible by 100. If it is divisible by 100, then it should also be divisible by 400.
@github-actions
Copy link

Greet Contributors Bot
Thank you for taking your time and effort for your contribution. If you are a new contributor to this repo, kindly add your username in CONTRIBUTORS.md

The amazing contributor in this pull request is @18EC10014

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant