I have an assignment that is the following:
For a given integer array, find the sum of its elements and print out the final result, but to get the sum, you need to e
If you really want to compute the sum, std::accucumulate is what you want, not for_each