**Sample output**

The program displays the following output on the screen for several different input values:

Enter an integer, 1-3 inclusive: 0 Invalid input Enter an integer, 1-3 inclusive: 1 Thanks for the 1 Enter an integer, 1-3 inclusive: 2 Thanks for the 2 Enter an integer, 1-3 inclusive: 3 Thanks for the 3 Enter an integer, 1-3 inclusive: 4 Invalid input