This program illustrates the use of the STL max_element() algorithm (default version) to find the maximum value in a vector of integers. Press Enter to continue ... Here are the integer values in the vector: 2 6 10 8 4 Press Enter to continue ... The maximum value in the vector is 10. Press Enter to continue ...