ExamPlay Dark Logo
Logga in

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.

Förklaring

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

Kommentarer (0)

Logga in för att kommentera
Annons
BrainBehindX Inc Logo
©2026; Drivs av BrainBehindX Inc