Display the outpont: (Assume tum= 7 initially)
do{
num=num+1;
SOPLN (num);
} while (num<=5);
Answers
Answered by
0
Here the java do-while loop is executed atleast once because the condition is tested after loop body.
So, the output is : 8
Similar questions