In the 1st case the loop will be executed if the condition is true before entering the loop and then will continue looping "while condition" is true.
In the 2nd case, the loop will be executed at least once, whatever the condition and then will loop "while condition" is true.