Branching, taking course of action on the basis of result of condition - Nested if-else, checking leap year.