×
×
Correct!
Create a
@(6) ($color) {
@(4) "red":
echo "Hello";
break;
@(4) "green":
echo "Welcome";
break;
}
switch ($color) {
case "red":
echo "Hello";
break;
case "green":
echo "Welcome";
break;
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?