Is for loop pretest type of loop ?
Answers
Answered by
0
Explanation:
The for loop is a pretest loop, so it evaluates the test expression before each iteration.
Answered by
0
Yes, for loop is a pretest loop which will initially the test the expression before the start of the loop execution process.
Explanation:
- In the case of for loop, the loop takes the value for a counter variable.
- Then the test expression is conducted.
- If the condition is true, then either an increment or decrements operation will be performed.
- Or else the loop will be terminated.
- Each time, the condition is tested before the execution of the statement.
To know more:
1) What do you mean by ""for loop"" ?
https://brainly.in/question/16088082.
2) Write the syntax of a for loop.
https://brainly.in/question/16087949
Similar questions