2.
What is loop? Define for loop with syntax and example.
Answers
Answered by
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
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