Question
What is the output of the given code?i = 3while i > 0 do print i i -= 1end
Answer: Option B
Was this answer helpful ?
The do statement here indicates that till the while condition is true execute the instructions.
Output:
321
Was this answer helpful ?
Submit Solution