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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started