Computer Science, asked by bristidutta2007, 2 days ago

Display the outpont: (Assume tum= 7 initially)
do{
num=num+1;
SOPLN (num);
} while (num<=5);​

Answers

Answered by maya3227
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