C++ Tutorial for Beginners 17 - “(Do-While)” Loops

What if you need a loop but you need the code in your loop at always execute at least once, regardless of the loop condition? This is a surprisingly common situation in programming in general; in C++, you can use the do-while loop to achieve this.

Click here to download source code for this tutorial.