while loop in cpp syn code example Example: how to define a while statement in c++ while(condition) { statement(s); }