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
$$$$$
```
Computer Science & Information Technology
You might also like to view...
If you are creating a query named Grand Piano Sales per Month, you may want to create a ________, so that you can define the month when you run the query
A) Nested Query B) Parameter Query C) Select Query D) Crosstab Query
Computer Science & Information Technology
You can ____________ the private key of specific certificates when they are issued. Doing so enables the key to be recovered later should it be lost in any way, such as by corruption or accidental deletion
a. Copy b. Archive c. Lock d. Overwrite
Computer Science & Information Technology