Complete the switch
statement, and add the correct keyword at the end to specify some code to run if there is no case match in the switch
statement.
int day = 4;
switch (@(3)) {
@(4) 1:
cout << "Saturday";
break;
@(4) 2:
cout << "Sunday";
@(5);
@(7):
cout << "Weekend";
}
int day = 4;
switch (day) {
case 1:
cout << "Saturday";
break;
case 2:
cout << "Sunday";
break;
default:
cout << "Weekend";
}