"A+ Computer Science Problem
Problem: Write method that will sum all array values that are less than the first value in the array: If there are no values less than the first value; return -1 1f the' given array is empty, retum -1,
Data: An array containing or more values: The array will not point at null:
Output: Return the sum Or -1.
Sample Data
25, -7,
Sample Output"