FOR
for is a loop that executes when the condition is true.
It is similar to a while loop but has different syntax.
SYNTAX
for (variable; condition; increment) {
code
}
for is a loop that executes when the condition is true.
It is similar to a while loop but has different syntax.
for (variable; condition; increment) {
code
}