Professional Documents
Culture Documents
Arrays
Second Edition
by Tony Gaddis
Chapter Topics
8.1
8.2
8.3
8.4
8.5
8.6
Array Basics
Sequentially Searching an Array
Processing the Contents of an Array
Parallel Arrays
Two-Dimensional Arrays
Arrays of Three or More Dimension
8-2
8-3
8-4
8-5
8-6
8-7
8-8
Input number
While (number != -1 AND count < SIZE)
Set values[count] = number
Set count = count + 1
Display "Enter a number, or -1 to quit."
Copyright 2010 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
8-9
8-10
8-11
8-12
8-13
Example
8-14
The lowest
Same process, but checks if the element is less than the
lowest value
8-15
8-16
8-17
8-18
8-19
8-20