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.
You might also like to view...
provides the basic attributes and behaviors of a window—a title bar at the top of the window, and buttons to minimize, maximize and close the window.
a. JLabel. b. JFrame. c. JSwing. d. JWindowControl.
An additional factor in applying a style sheet is that properties are passed from a parentelement to its children in a process known as style inheritance.
Answer the following statement true (T) or false (F)
As the network engineer, you are presented with the following 172.16.0.0/18 IP addressing information. Identify all the possible subnet IDs from the list below, assuming that the /18 subnet is used throughout the network
A) 172.16.127.255 B) 172.16.192.0 C) 172.16.64.0 D) 172.16.191.255
To insert a node in a linked list, we only need to know the new nodes logical successor.
Answer the following statement true (T) or false (F)