Introduction
A do-while loop lets you run a block of code at least once, then repeat it while a condition is true.
When you want to ask a user for input and repeat until they give a valid answer.
When you need to run a menu at least once and keep showing it until the user chooses to exit.
When you want to perform an action first, then check if it should continue.
When you want to repeat a task but must do it at least once no matter what.