Task: Write a program that asks the user to enter numbers. The program will continue asking for numbers either until it reaches a pre-set maximum number of numbers, or until the user enters a negative number.
The program should store these numbers in an array. When the user is finished entering numbers, it should pass the array to a function that will calculate the sum of squares for each number in the array and return the results in a second array. The program should also return the average value of the numbers the user entered.
Finally, the program should print out this average and each of the sums of squares.
Purpose: The primary purpose of this lab is to give us more practice using arrays with functions.