It is D if (x == 5) x = 2 * x;
Answer:
D
Step-by-step explanation:
A and B are not valid because you cannot use "=" as a comparator (you must use "==" or "===").
C is not valid because the expression after the conditional is not a statement (it uses "==" instead of "=")
6.3m questions
8.3m answers