What is wrong with the following pseudocode that displays a menu and repeatedly displays the menu until the user enters a valid selection?
```
Do
Select menuSelection
Case 1:
Do task 1
Case 2:
Do task 2
Case 3:
Do task 3
End Select
While menuSelection < 1 OR menuSelection > 3
```
a. There are no output statements in the cases.
b. A While loop should be used, not a Do-While loop.
c. The last line should be: While menuSelection != 0
d. There is nothing wrong with this pseudocode.
d. There is nothing wrong with this pseudocode.
You might also like to view...
What is the efficiency of merge sort?
a. O(log n). b. O(n). c. O(n log n). d. O(n2).
What are the benefits of sharing a workbook?
What will be an ideal response?
Write a brief history of steganography.
What will be an ideal response?
You can enable taint mode explicitly by using the command line flag ____.
A. -A B. -S C. -T D. -X