ExamPlay Light Logo
Se connecter

Computer Science for IGCSE & O level - Algorithm Design And Problem Solving (Section 7 - No. 34)

What is the role of the variable `Total` in the totaling algorithm?
Store the final total of the marks.
To keep track of the current number of marks.
To store each mark read from the input.
To represent the variable.

Explication

The total stores the sum as values are added in the loop.

Commentaires (0)

Connectez-vous pour commenter
Publicité
BrainBehindX Inc Logo
©2026; Alimenté par BrainBehindX Inc