ExamPlay Dark Logo
Inloggen

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.

Uitleg

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

Opmerkingen (0)

Log in om te reageren
Advertentie
BrainBehindX Inc Logo
©2026; Aangedreven door BrainBehindX Inc