This program illustrates the use of the STL for_each() algorithm to find the cube of each value in a vector of integers. We also use the for_each() algorithm to display the values in the vector. Press Enter to continue ... Here are the initial contents of v: 1 2 3 4 5 6 7 8 9 10 Press Enter to continue ... And here are the cubes of the values in v: 1 8 27 64 125 216 343 512 729 1000 Press Enter to continue ...