Do-while construct

The do-while construct checks the condition after executing the step once. Even though the do-while loop is similar to the while loop, the only difference between a do-while loop and a while loop is that a do-while loop will execute the body at least once, even if the criteria is false:

do
{
loop body;
}
while (condition);
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
52.14.141.130