Have you ever bothered writing those 2 loops ? I bet you have not. Your question can be clarified using only the names of the loops:
Do While
and
While Do
(usually called the
while
loop).
1. Do While - Do
*something*
while
*this is true*
do
{
}
while()
2. While Do - While
*this is true*
Do
*something*
while()
{
}
In the Do While loop, first the loop body is executed and then the condition is checked.
In the While (or While Do as you called) loop, first the condition is checked and then runs the body loop.