Menu
×
×
Correct!
Exercise:Output "1" if
$a = 50;
$b = 10;
@(2) ($a == $b) {
echo "1";
} @(6) ($a > $b) {
echo "2";
} @(4) {
echo "3";
}
$a = 50;
$b = 10;
if ($a == $b) {
echo "1";
} elseif ($a > $b) {
echo "2";
} else {
echo "3";
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 47 exercises.
Are you sure you want to continue?