Answer
To access an array element, you simply write the index of the desired element
in parentheses after the array name. You can use an indexed array name just
like any other variable. In the program, we twice reference ``N(I)'', for
different values of ``I''. Notice how nicely arrays go together with DO
loops.
Return to lesson.
Hamlet Project
hamlet@cs.utah.edu