strings as elements, you concatenate them by using this algorithm. When you switch from operator
+ to operator *, you get the product of all elements. As another example, you should know that
adjacent_difference() and partial_sum() transfer a range of absolute values into a range of
relative values and vice versa.
Both accumulate() and inner_product() process and return a single value without modifying
the ranges. The other algorithms write the results to a destination range that has the same number
of elements as the source range