hello guys please help
/*1.1 Write a class to do the following:
a. Declare an array called arr1 to contain 10 cells of type integer.
b. Write a method to input 10 numbers into the array
c. Write a method to find and return the sum of the numbers in the array
d. Write a method to receive the sum. Find and return the average.
e. Write a method to receive the sum and average, output these values.
f. Write the test driver class to call up the methods.
*/
HOW DO I FIND THE SUM (NUMBER C )