ExamPlay Light Logo
Entrar

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

Explicação

TotalWeight accumulates the sum with each iteration.

Comentários (0)

Faça login para comentar
Anúncio
BrainBehindX Inc Logo
©2026; Distribuído por BrainBehindX Inc