Online course

SCRATCH

TRAINING

A program has a menu of choices. Write a program where the user must enter a number from 1 to 5 in order to access the menu choices. You must check If the user enters a number lower than 1 or higher than 5, the program tells them they have made a mistake.

How would you amend the program using an AND operator rather than the OR used previously?

RESOURCES

INVOLVED LESSON