while and do while loop c++ code example Example: do while loop c++ do { statement(s); } while(condition);