Menu
×
×
正确
int day = 2;
switch (@(3)) {
@(4) 1:
cout << "Saturday";
break;
@(4) 2:
cout << "Sunday";
@(5);
}
int day = 2;
switch (day) {
case 1:
cout << "Saturday";
break;
case 2:
cout << "Sunday";
break;
}
不正确
点击 此处 重试 正确
下一题 ❯int day = 2; switch (w3exercise_input_no_0) {w3exercise_input_no_11: cout << "Saturday"; break;w3exercise_input_no_22: cout << "Sunday";w3exercise_input_no_3; } |