coins/TwelveCoins.cpp
/**
 * @brief: Computes the sum of all integers in a given vector.
 * 
 * @return:Returns sum of all coins in a given sample vector.
 */
@brief: Computes the sum of all integers in a given vector.

@return:Returns sum of all coins in a given sample vector.
@brief : Computes the sum of all integers in a given vector . @return : Returns sum of all coins in a given sample vector .
int TwelveCoins::sum(std::vector<int> arr)
{
    int retVal = 0;
    for (int i : arr)
        retVal += i;
    return retVal;
}
int TwelveCoins :: sum ( std :: vector < int > arr ) { int retVal = 0 ; for ( int i : arr ) retVal += i ; return retVal ; }
@brief: Computes the sum of all integers in a given vector.
@brief : Computes the sum of all integers in a given vector .