\[\begin{array}{*{35}{l}} age\text{ }=\text{ }10 \\ DO \\ PRINT\text{ }age \\ age\text{ }=\text{ }age\text{ }+\text{ }1 \\ LOOP\text{ }WHILE\text{ }age\text{ }<10 \\ \end{array}\] |
A) 9
B) 11
C) 10
D) 12
Correct Answer: C
Solution :
The loop will be executed once, because condition is checked at the end. So, the value of age will get printed as 10.You need to login to perform this action.
You will be redirected in
3 sec