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 task first, then check if it should run again.
When you want to show a menu and repeat it until the user chooses to exit.