Question: Use the code shown in Figure 6-34 to answer What will the code in Figure 6-34 display when the id variable contains the number 2?
Use the code shown in Figure 6-34 to answer

What will the code in Figure 6-34 display when the id variable contains the number 2?
a. Janet
b. Jerry
c. Mark
d. Sue
switch (id) { case 8: cout < < "Janet"; break; case 2: case 7: cout < < "Mark"; break; case 9: cout
Step by Step Solution
3.33 Rating (183 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
