Computer Science, asked by kumaranand0950, 7 months ago

2.
What is loop? Define for loop with syntax and example.

Answers

Answered by Anonymous
2

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. ... A for-loop has two parts: a header specifying the iteration, and a body which is executed once per iteration.

Answered by techbaba787878
0

Explanation:

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. ... A for-loop has two parts: a header specifying the iteration, and a body which is executed once per iteration.example COBOL which uses "PERFORM VARYING".

Similar questions