You are viewing a single comment's thread. Return to all comments →
** C ++ **
int simpleArraySum(vector<int> ar) { int sum = 0; for (int i=0; i<ar.size(); i++){ sum = sum + ar.at(i); } return sum; }
Simple Array Sum
You are viewing a single comment's thread. Return to all comments →
** C ++ **