Create a function call sumArray which will return the int sum of an array that is passed in. Note that a length of the array should also be specified.
input: arr = {1, 2, 3, 4}, length = 3, returns: 6 (because the 4 was ignored because it was past the length)
-----------------------------------------
Write a function printAccending, that will take an int array and the length as its input and output each integer on a line that is greater than the last. If one is smaller it will drop to a new line and continue from there: