What is printed by the following program segment if the value input into num is 2?
```
cin >> num;
switch (num)
{
case 0:
case 1:
cout << " Red";
case 2:
cout << " Blue";
case 3:
cout << " Green";
case 4:
cout << " Yellow";
default:
cout << " Invalid Input";
} // end switch
```
a. Red
b. Blue
c. Green
d. Yellow
e. Blue Green Yellow Invalid Input
e. Blue Green Yellow Invalid Input
You might also like to view...
____ refers to using artwork on one layer to mask the artwork on the layer above it.
A. Clipping B. Kerning C. Masking D. Basing
What is the purpose of offering discounts? Do you think that clients are saving too much money, possibly causing negative consequences for the agency?
What will be an ideal response?
Briefly describe cell phone hardware.
What will be an ideal response?
First-generation computers contained many components still in use today.?
Answer the following statement true (T) or false (F)