User input values

An input value of 1

If the user input value (temp) is 1:

If the user input value is not 1, a new test is performed.

An input value of 2

The new test determines if the user input value is 2.

If the user input value is 2:

If the user input value is not 2, a new test is performed.

An input value of 3

The new test determines if the user input value is 3.

If the user input value is 3:

An invalid input

If the user input value is not 3, it is concluded that:

The final else clause

In that case, the final else clause is executed.

The final else clause displays a message indicating that the input is not valid.

-end-