Based on the dangling-else discussion state the output for each of the following code snippets when x is 9 and y is 11 and when x is 11 and y is 9. We eliminated the indentation from the following code to make the problem more challenging.
```
if (x < 10)
if (y > 10)
cout << "*****" << endl;
else
cout << "#####" << endl;
cout << "$$$$$" << endl;
```
```
When x is 9 and y is 11
*****
$$$$$
When x is 11 and y is 9
$$$$$
```
You might also like to view...
Which category of iterators combines the capabilities of input and output iterators into one iterator?
a. Forward iterators. b. Bidirectional iterators. c. Random access iterators. d. Input/output iterators.
_____ determines the overall lightness or darkness of an entire image.
A. Contrast B. Color C. Style D. Brightness
Which of the following is used to determine whether or not a user's account is authorized to access a server remotely?
A. VPN B. RDP C. LDAP D. Encryption
Briefly describe how the timer timing bit controls output.
What will be an ideal response?