Question PSC-LOOP-0068
HardWhat will be the output of the following pseudocode?
Integer i = 0, j = 10, c = 0
while (i < j)
i = i + 2
j = j - 1
c = c + 1
end while
Print i, j, c
- A.
8 7 4
- B.
8 6 4
- C.
Sign up free to see the answer and a step-by-step explanation.