Question 4 What are the parameters needed to create a for loop?
Answers
Answered by
17
Answer:
The following parameters are commonly used in a for loop:
- An initial value for the loop control variable.
- A condition—loop will iterate as long as this condition remains true.
- An update expression to modify the loop control variable after every iteration.
- Body of the loop which consists of the statements that needs to be repeatedly executed.
I hope this will help you :)
Similar questions