te a program that prompts the user to enter several integer numbers and store them in a one dimensional array. The size of the array should be read from the keyboard. The program should calculate and display the average of the numbers. If the user enters a value for the array size less than one, throw and handle an appropriate exception (you have to display the message array size cannot be less than one) and prompt the user to enter another array size. This process continue until the user enters the correct array size. In addition, the program should be able to handle exception thrown when there is a division by zero problem, when the index of the array is out of bound, when there is input mismatch.
Write a
SLOVE IT USING JGRASP PLEASE
Step by step
Solved in 4 steps with 2 images