Programming Fundamentals/Array Examples C++

Output
array[0] = 49 array[1] = 48 array[2] = 26 array[3] = 19 array[4] = 16 total: 158 maximum: 49 minimum: 16 Lisa is 49 years old Michael is 48 years old Ashley is 26 years old Jacob is 19 years old Emily is 16 years old array[0] = 16 array[1] = 19 array[2] = 26 array[3] = 48 array[4] = 49 array[0] = 30 array[1] = 14 array[2] = 67 array[3] = 59 array[4] = 96 30 14 67 59 96 X | O | X O | O | O X | O | X