ExamPlay Light Logo
Jelentkezzen be

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

In the Totaling example, how is the variable 'TotalWeight' updated?
TotalWeight = Weight
TotalWeight = TotalWeight - Weight
TotalWeight = TotalWeight + Weight
TotalWeight = Weight - TotalWeight

Magyarázat

TotalWeight accumulates the sum with each iteration.

Megjegyzések (0)

Bejelentkezés a hozzászóláshoz
Hirdetés
BrainBehindX Inc Logo
©2026; Powered by BrainBehindX Inc