Nested if Statement
A body of an if statement could be another if statement. This situation is called nested-if.
In this case, an else is matched with the most recent unmatched if.
A nested-if allows a program to make decisions based on the results of the previous decision.