if( condition ) { // true block} // next statement |
if( condition ) { // true block} else { // false block} // next statement |
if( condition-0 ) { // block-0} else if( condition-1 ) { // block-1} // other else-if blocks go here else if( condition-n ) { // block-n} else { // default block} // next statement |
while( condition ) { // loop body} // next statement |