Making a decision

The selection structure uses the value of the integer provided by the user to make a decision.

The decision is used to display one or the other of two different messages.

The decision is made on the basis of whether the user input is even or odd.