Computer Science, asked by krisshtheawesome, 11 months ago

write the function and syntax of for loop​

Answers

Answered by arshad49
1

Answer:

In computer science, a for-loop (or simply for loop) is a control flow statement for specifying iteration, which allows code to be executed repeatedly. ... The header often declares an explicit loop counter or loop variable, which allows the body to know which iteration is being executed.

Explanation:

The initialization statement describes the starting point of the loop, where the loop variable is initialized with a starting value. A loop variable or counter is simply a variable that controls the flow of the loop. The test expression is the condition until when the loop is repeated.

" My dear friend Mark me as a brainly plzz "

Similar questions