Date: Wed, 11 Dec 1996 22:34:12 GMT Server: NCSA/1.5 Content-type: text/html Last-modified: Fri, 11 Oct 1996 19:15:43 GMT Content-length: 10723 CS 302 Section 70 Lecture Notes - Week 9

Lecture Notes - Week 6


Topic:
One-dimensional arrays. One-dimensional array arguments. Parallel arrays.

Text:
7.1 - 7.7, 7.9

Notes:

Arrays

Simple Variables

Array Variables

Declaring Array Variables

Referencing Arrays

Array Subscripts

Arrays and DO Loops


Reading Arrays

#1: DO Loop

#2: Read Entire Array

#3: Implied DO Loop


Writing Arrays

#1: DO Loop

#2: Print Entire Array

#3: Implied DO Loop


Implied DO Loops


Format Statements and Arrays


Array Arguments

Input Array Arguments

Output Array Arguments


Copyright © 1996 Modified fromGareth S. Bestor (bestor@cs.wisc.edu). Last modified October 11, 1996.