Menu
×
×
正确
int day = 4;
switch (@(3)) {
@(4) 1:
printf("Saturday");
@(5);
@(4) 2:
printf("Sunday");
@(5);
@(7):
printf("Weekend");
}
int day = 4;
switch (day) {
case 1:
printf("Saturday");
break;
case 2:
printf("Sunday");
break;
default:
printf("Weekend");
}
不正确
点击 此处 重试 正确
下一题 ❯int day = 4; switch (w3exercise_input_no_0) {w3exercise_input_no_11: printf("Saturday");w3exercise_input_no_2;w3exercise_input_no_32: printf("Sunday");w3exercise_input_no_4;w3exercise_input_no_5: printf("Weekend"); } |