An Introduction to Programming with C++, Sixth Edition19 The while Statement (cont'd.) Must also provide loop body statements, which are processed repeatedly as long as condition is true If more than one statement in loop body, must be entered as a statement block (enclosed in braces) Can include braces even if there is only one statement in the statement block Good programming practice to include a comment, such as //end while, to mark the end of the while statement
{}