// block of statements
For e.g., the sum program can be rewritten as follows:
Int sumSoFar = 0;
sumSoFar = sumSoFar +i; // This is the body of the do while loop
while(I <= 100);
The while loop is called as pre-test loop and do while loop is called as post-test loop. Because, the while loop tests the condition first and then enters the loop, but do while first enters the body and then tests the condition.