C++ STL Algorithm accumulate

C++ examples for STL Algorithm:accumulate