Computer Science for IGCSE & O level - Programming (Section 11 - No. 20)

In the pseudocode, what action does the statement `TOTAL = TOTAL + MARK` perform?
Calculates the average of the marks.
Adds the current mark to the total.
Initializes the total marks to zero.
Outputs the total marks.

Explanation

This line adds the value of 'MARK' to the running total stored in the 'TOTAL' variable.

Comments (0)

Advertisement