Menu
×
×
正确
@(6) ($color) {
@(4) "red":
echo "Hello";
break;
@(4) "green":
echo "Welcome";
break;
}
switch ($color) {
case "red":
echo "Hello";
break;
case "green":
echo "Welcome";
break;
}
不正确
点击 此处 重试 正确
下一题 ❯w3exercise_input_no_0($color) {w3exercise_input_no_1"red": echo "Hello"; break;w3exercise_input_no_2"green": echo "Welcome"; break; } |