1. What do we call that loop,
which does not contain an
increment or decrement
statement?
Answers
Answered by
0
Answer:
For loop flow diagram
A for-loop has two parts: a header specifying the iteration, and a body which is executed once per iteration. The header often declares an explicit loop counter or loop variable, which allows the body to know which iteration is being executed. For-loops are typically used when the number of iterations is known before entering the loop. For-loops can be thought of as shorthands for while-loops which
Similar questions