The selection structure
The selection structure is shown in Listing 4.
The code in Listing 4 makes a decision.
The result of the decision process depends on whether the user input was even or odd.
A different message is displayed depending on whether the input was even or odd.