×
×
Correct!
Complete the
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";
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 58 exercises.
Are you sure you want to continue?