The construction of the operator for:
For (The initial value of a variable; The logical expression with a variable (the condition for executing a loop); The action on a variable called when the condition is satisfied.) {
Operators that will execute the loop, provided that the logical expression is true;
}
The for loop uses a variable and checks the value of the statement, and then performs an action on it.