do { // code block to be executed}while (condition);
1 2 3 4 5 6 7 8 9 10
#include <iostream> using namespace std; int main(){ int i =0; do{ cout << i <<"\n"; i++; }while(i <5); return 0; }
edit & run
Username or Email Address
Password
Remember Me
Username
Email
Registration confirmation will be emailed to you.