ExamPlay Light Logo
Zalogować się

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

In the totaling example, how does the code update the total weight?
By assigning the current Weight to TotalWeight.
By subtracting the Weight from the TotalWeight.
By adding Weight to TotalWeight.
By multiplying Weight with TotalWeight.

Wyjaśnienie

It adds weight to the existing total.

Uwagi (0)

Zaloguj się, aby skomentować
Reklama
BrainBehindX Inc Logo
©2026; Obsługiwane przez BrainBehindX Inc