I know what do does, and how it cooperates with the while loop, but won\'t a while loop code be the same, whether or not the do is there?
The difference is with "do-while" loop will be executed at least one time. With "while" loop with false condition the loop body will not be executed.