Computer Science for IGCSE & O level - Programming (Section 14 - No. 13)

What are the main components usually found in a "For" loop structure?
Initialization of a loop counter.
A condition for the loop to continue.
An increment or decrement step.
A statement to declare variables

Explanation

A 'For' loop requires these components to iterate correctly.

Comments (0)

Advertisement