Q. What will be the output of the given code?
Code:
i = 4 while i > 0 do print i i -= 1 end
β
Correct Answer: (C)
4321
Explanation: The do statement here indicates that till the while condition is true execute the instructions.