for (initialisation; termination condition; incrementing expr) {
statement(s)
}
while (Boolean expression) {
statement(s)
}
do {
statement(s)
} while (Boolean expression);
Define it outside of the loop, since it doesn't need to be updated every iteration.