FindMax is almost a sorting
routine. If demonstrates how to find the maximum element in an array,
and how to swap it with, say, the last element of the array. Repeating
this over the length-1 elements in the array 0 through length-2 will
put the second largest number in the cell just previous to the last
cell of the array. And so forth, sorting the array.
Complete for homework.
JBuilder
Personal 6,
Borland's IDE (Integrated Development Environment) for Java
is offered for free.
Please install on your computer and
use for this course.