Java Problem
Write the following methods to find and print:
1) the smallest element in an array
2) the largest element in an array
2) the average of the values stored in the array
Initialize the array with the following values
10 20 30 4 5 1 44 86 33 29 59
Write a test program that invokes the methods.
The response should include a reference list. One-inch margins, Using Times New Roman 12 pnt font, double-space and APA style of writing and citations.