본문 바로가기

Totalling & counting

English

Totalling: a running total

  • Totalling adds up a series of numbers.
  • Start a total at 0, then add each value to it.
  • The pattern total = total + value is called an accumulator.

Tracing a loop: total grows to 43 and count to 4

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP