1. Write a function template arraySum () that accepts an array and the number of values stored in it and returns the sum of those values.
2. Write a function template arrayMaxMin () that accepts an array and passes back the maximum and minimum of those values.
3. Write a recursive function that returns the number of digits in a nonnegative integer.
4. Write a nonrecursive function that returns the number of digits in a nonnegative integer.