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

What is the purpose of the line: `ClassHigh = 0` in the beginning of the provided code example?
To initialize the variable ClassHigh.
To calculate the average mark.
To assign a value to NumOfStudents.
To clear the value of StudentHigh

Explanation

It initializes the variable before the program begins calculations.

Comments (0)

Advertisement