Question PSC-LOOP-0014
MediumWhat will be the output of the following pseudocode?
Integer i = 1, count = 0
while (i <= 100)
i = i * 3
count = count + 1
end while
Print count
- A.
4
- B.
5
- C.
Sign up free to see the answer and a step-by-step explanation.