Question: Question 9 1 pts Use the code below to answer this question. int id = 0 ; cout < < ID: ; cin

Question 91 pts
Use the code below to answer this question.
int id =0;
cout <<"ID: ";
cin >> id;
switch (id)
{
case 1:
cout << "Janet";
break;
case 2:
cout << "Mark";
break;
case 3:
case 5:
cout << "Jerry";
break
default
cout << "Sue";
}//end switch
What will the code above display when the id variable contains the number 4?
Group of answer choices
Janet
Jerry
Mark
Sue

Step by Step Solution

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 Databases Questions!