ExamPlay Dark Logo
Logga in

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.

Förklaring

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

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc