What is wrong with the following pseudocode that validates a user's entry?
```
Display "Do you want to play again? Enter y or n."
While toLower(choice) != "y" AND toLower(choice) != "n"
Display "Please answer y or n. Play again?"
Input choice
End While
```
a. There is no priming read.
b. There is no check for uppercase Y or N.
c. The Boolean expression should be an OR, not AND.
d. There is nothing wrong with this pseudocode.
a. There is no priming read.
Computer Science & Information Technology
You might also like to view...
When cropping an image, crop ________ appear to define the area to be removed
Fill in the blank(s) with correct word
Computer Science & Information Technology
When using the CORREL function a value of 1 would indicate:
A) a mild relationship. B) a strong relationship. C) no relationship. D) a weak relationship.
Computer Science & Information Technology