A6 - iteration

for loop

for ( int i = 0; i < N, i++) { /* (intex initialisation; condition; step) */
	...; /* statements */
}

while loop

while (condition) {
	...; /* statements */
}

do-while loop

do {
	...; /* statements */
} while (condition) ;

control statements

statement function
continue skips the remaining statements in the body of the loop
break immediately terminates the loop
goto [location] jumps to the specified location