Sum an Array

From Progzoo

Revision as of 22:27, 9 April 2008 by Andr3w (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

You can add the numbers in the array [6,7,29] using a loop.

The for loop can be used to run through an array of integers.

[Font] [Default] [Show] [Resize] [History] [Profile]