ExamPlay Light Logo
Logg på

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.

Forklaring

It adds weight to the existing total.

Kommentarer (0)

Logg inn for å kommentere
Annonse
BrainBehindX Inc Logo
©2026; Drevet av BrainBehindX Inc