Nested if-else constructs
(Display Listing 1.)
The code in the body of the loop consists of multiple nested if-else constructs.
The purpose of the nested if-else constructs is: