7.3: Common Array Algorithms
Read this chapter, which discusses how a for loop can be used to iterate over the elements of an array. In addition, it also discusses enhanced for loop. The chapter demonstrates use of arrays to solve common problems such as finding sum, average, maximum, and minimum values of numbers stored in array. Pay attention to some of the common programming errors one can make while using arrays.