Write a function the returns the largest sum of contiguous integers in an array. For example, if the input is (-5, 2, 3, -3, 0, 5, -15), the largest sum is 7.
int LargestContiguousSum(int*iArray, int len)
{
{
Leave a comment
If you are including code in your comment, place it within a <div class='code'></div> tag for better formatting.
No Comments so far
Leave a comment