Which of the following statements are equivalent? Which ones are correctly indented?
(a)
if (i > 0) if
(j > 0)
x = 0; else
if (k > 0) y = 0;
else z = 0;
(b)
if (i > 0) {
if (j > 0)
x = 0;
else if (k > 0)
y = 0;
}
else
z = 0;
(c)
if (i > 0)
if (j > 0)
x = 0;
else if (k > 0)
y = 0;
else
z = 0;
(d)
if (i > 0)
if (j > 0)
x = 0;
else if (k > 0)
y = 0;
else
z = 0;
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.