Question: Java: Programming Question: Reverse Order Write a program that reads ten integers into an array; define another array to save those ten numbers in the
Java: Programming Question: Reverse Order
Write a program that reads ten integers into an array; define another array to save those ten numbers in the reverse order. Display the original array and new array. Then define two separate methods to compute the maximum number and minimum number of the array.
Sample Run:
Please enter 10 numbers: 1 3 5 8 2 -7 6 100 34 20
The new array is: 20 34 100 6 -7 2 8 5 3 1
The maximum is: 100
The minimum is: -7
Bonus: Determine how many numbers are above or equal to the average and how many numbers are below the average.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
