Skip to content

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.
中文

累加:一个不断累积的总和

  • 累加(totalling)把一连串数字加起来。
  • 让 total 从 0 开始,然后把每个值加上去。
  • total = total + value 这个模式叫做累加器(accumulator)。

Handout

Log in or create account · ⁨登录或创建账户⁩

IGCSE, A-Level · ⁨IGCSE、A-Level⁩ & AP · ⁨与 AP⁩