Question: difference between do while and while?
Answer: The most important difference between While and Do-While is that in Do-While, the block of code is executed at least once. ... In While loop, the condition is first tested and then the block of code is executed if the test result is true.