Given the following pseudocode of a menu, which of the following While statements could be used to validate the user's input?

```
Select menuSelection
Case 1:
Do task 1
Case 2:
Do task 2
Case 3:
Do task 3
Case 4:
Do task 4
End Select

```

a. While menuSelection < 1 OR menuSelection > 4
b. While menuSelection <= 1 OR menuSelection >= 4
c. While menuSelection < 1 AND menuSelection > 4
d. While menuSelection < 0 AND menuSelection > 3

a. While menuSelection < 1 OR menuSelection > 4

Computer Science & Information Technology

You might also like to view...

The ________ pane can be used to hide objects so they are not displayed in a presentation

Fill in the blank(s) with correct word

Computer Science & Information Technology

What chart type can display two different chart types at the same time?

A) Multiple B) Mixed C) Combo D) Combination

Computer Science & Information Technology