ExamPlay Light Logo
Log ind

Computer Science for IGCSE & O level - Programming (Section 6 - No. 43)

What is the key difference between `totaling` and `counting`?
Totaling deals with numbers while counting deals with text.
Totaling sums numerical values while counting determines the frequency of occurrences.
Totaling uses pre-condition loops while counting uses post-condition loops.
Totaling is used with strings; counting with numbers.

Forklaring

Totaling adds up the values, and counting tallies how many times something happens.

Kommentarer (0)

Log ind for at kommentere
Reklame
BrainBehindX Inc Logo
©2026; Drevet af BrainBehindX Inc