What kind of loop is used here tement ression O do while o f
Solution
Please find the answers below:
6) do..while loop
do..while loop has got the syntax:
do{
(statements)
}(expression);
7) break and continue : These statements are used to control the flow of loops. The break keyword will exit from the loop, and continue keyword will skip current iteration of the loop
8) 0 5 10 15 20 25 : the loop starts with initial value for i=0, then till i less than or equal to 25, the loop body will print the value of i and increment i by 5.
9) boolean : a boolean kind of variable will be used as a flag which when unsatifies the condition will exit the loop
10) false: because do..while loop will executes atleast one time in every case. So there may be some scenarios in which we don\'t require the loop body to execute at once based on some condition. In that case we cannot use do..while loop

