This program illustrates the use of the STL transform algorithm (default version) to find the square root of each value in a range of integers, as well as the cube of each value in a range of integers. The square roots are found with a built-in library function and placed in a different container from the original values. The cubes are found with a programmer-defined function and they overwrite the original values. Press Enter to continue ... Here are the values in a vector: 1 2 3 4 5 6 7 8 9 10 Press Enter to continue ... Here are the values in a deque: -1 -2 -3 -4 -5 -6 -7 -8 -9 -10 Press Enter to continue ... Here are the new values in the deque after all but the values at the ends have been overwritten by the square roots of the corresponding values from the vector: -1 1.41421 1.73205 2 2.23607 2.44949 2.64575 2.82843 3 -10 Press Enter to continue ... And the iterator returned by the algorithm is pointing at the deque value -10. Press Enter to continue ... Here are the cubes of the original values, read now from the original vector: 1 8 27 64 125 216 343 512 729 1000 Press Enter to continue ... This time the iterator returned by the algorithm is pointing to the end of the original vector. Press Enter to continue ...