Reference no: EM132200855
Write a JAVA Program that creates a one-dimensional array and fills it with the following numbers in this order:
22, 40, 64, 92, 61, 42, 23, 98, 85, 13, 81, 32, 90, 54, 16
Pass the array to a method and find the following:
1. Sum of the numbers.
2. Average of the numbers to two decimal places.
3. Maximum value of the numbers.
4. Minimum value of the numbers.
5. Total Count of the numbers greater than or equal to 50.
You should first output the entire array and then output the answers to the above 5 questions. Make sure your output clearly identifies which answers are which.