Loops and Iterations
A loop is a type of programming-language statement that lets code be executed repeatedly; that is, a loop is a series of iterations. In programming language, there are four types of loops:
An iteration is a single execution of the inner loop process. If you loop from 1 to 10, the code inside the loop will be executed for 10 iterations.
Loops can be unconditionally exited with a break statement: break;. The continue statement: continue; unconditionally skips to the next iteration of the loop.