ExamPlay Light Logo
Mag-sign 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.

Paliwanag

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

Mga komento (0)

Mag-login Upang Magkomento
Advertisement
BrainBehindX Inc Logo
©2026; Pinapatakbo ng BrainBehindX Inc