Program #2
Processing Arrays with WHILE and FOR Loops

The number of elements = 7 in this array.
Program 1.2 Purpose: use WHILE looping to produce this sentence.

Program 1.2's second purpose: use FOR looping to produce these sentences.
By using a concise syntax, FOR looping produces cleaner code, minimizes common errors, and produces equivalent results as the WHILE syntax loops .
This example includes a nested IF statement.
SOURCE CODE: Click HERE
[Top]
Last Updated : Monday, September 27, 2004 21:39

(c) 2004 Robin Y. Mabry Hubbard 4ascii@marz.com