0
OUTPUT
What output results from the following code? $x = 6; if ($x == 10) { echo "A"; } elseif ($x > 7 && $x < 10) { echo "B"; } elseif ($x == 20) { echo "C"; } else { echo "D"; }
7 Respuestas
+ 1
It would be D as the other conditions are false.
+ 1
D
+ 1
d
+ 1
D
+ 1
d
+ 1
d
0
D is the correct answer that the 10 is different from 6
and second 7 is greater and the 6 is less than 10 but with the and operation it is false