provided: https://docs.google.com/document/d/1AB4VUS4uFGUIC1VKtoeb3wwyrZYNgOgfa_
ID: 3680654 • Letter: P
Question
provided: https://docs.google.com/document/d/1AB4VUS4uFGUIC1VKtoeb3wwyrZYNgOgfa_JOJm0T95k/edit?usp=sharing
Complete TemplateLab9Bronze. java by adding the recursive method double sum Of List(int n, double [ ] list). This method finds the sum of the first n elements in the list. Notice that in the original call to sum Of List, n is the length of the array (which means the entire array is summed). The recursive step in sum Of List finds the sum by finding the sum of the first n-1 elements in the list, then adding the n-th value in the list. The easy step is finding the sum of the first element in the list. The result is simply the element itself.