Question: Write a Java program which has THREE(3) methods to find the minimum, maximum and average value of several numbers. The first method will find the

Write a Java program which has THREE(3) methods to find the minimum, maximum and average value of several numbers.

  1. The first method will find the minimum number.
  2. The second method will find the maximum number.
  3. The third method will calculate the average value.

All the numbers must be stored in an array and the length of the array will be specified by a user (from keyboard). If the length of the array is less than 5 or more than 7, then the user MUST input again.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!