Accumulator Tutorial

From Progzoo
Revision as of 20:36, 21 October 2010 by Andr3w (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
<< For Loop Tutorial

An accumulating variable is a common programming pattern. It can be used to solve many simple problems such as counting, adding and finding the maximum/minimum.

Many of these tutorials use data taken from the text file http://progzoo.net/cia.txt