Computer Science for IGCSE & O level - Programming (Section 3 - No. 31)

What is the purpose of the `FOR` loop in the context of student and subject marks?
To declare all student marks.
To define the number of students.
To iterate through a specified number of subjects or students.
To calculate the average marks for the whole class.

Explanation

The `FOR` loop is used to repeat a block of code a certain number of times, often for processing students or subjects.

Comments (0)

Advertisement