do-while loop in C and C++

do
{
  //code
}while(conditional);
The code is executed at least once, and continues while the conditional statement is true.

Related

Looping tutorial

Learn about while loops

Learn about for loops