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 9?

Use the code shown in Figure 6-34 to answer 

switch (id) { case 8: cout


What will the code in Figure 6-34 display when the id variable contains the number 9? 

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.46 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Microsoft Visual C# Introduction Questions!