- Exercise

In this lesson, we'll solve an exercise to enhance our knowledge of std::accumulate.

We'll cover the following

Problem statement #

Use std::accumulate to add numbers, multiply numbers and concatenate strings.

Get hands-on with 1200+ tech skills courses.