A Very Big Sum

  • + 1 comment

    yeah...just had to change the datatype.... anyways if any1 wants.....

    // Complete the aVeryBigSum function below. static long aVeryBigSum(long[] ar,int arCount) { long sum = 0; for (int i = 0; i < arCount; i++) { sum+=ar[i]; } return sum; }