CS202 Java-43
Partial Array Processing
llength  is the number of slots assigned to the array
lWhat if the array doesn’t have valid data in each of these slots?
lKeep a counter of how many slots have valid data and use this counter when processing the array