Leap Year Check (Flowchart)
This flowchart example shows you an algorithm that checks whether a year is a leap one.
Is it a normal year or a leap year? This simple flowchart depicts the algorithm for this check.
Is YEAR a leap year? - Algorithm
The algorithm consists of the following steps:
Is divisible by 4
- Yes
- Is divisible by 100
- Yes
- Is divisible by 400
- Yes - Leap Year
- No - Common Year
- No - Leap Year
- No - Common Year
Diagram
Leap Year (Flowchart)
Jelena 29 February 2024 15:59:48
Popovich
Dusan Rodina - softwareideas.net 29 February 2024 16:15:16
RE: Popovich