Hi, I have an array of integers and I want to pass the array to a function that will add up the elements of the array and return the cumulative total of the elements of the array. So, if the array contains the values {1,2,3,4,5} the return value from the function would be 15. How do I achieve that please.
Thanks for all and any help.
Thanks for all and any help.
Comment