Question: Write a Java program named RealNumbers that asks the user to enter 10 real numbers and store them in an array named numArray. Then the

Write a Java program named RealNumbers that asks the user to enter 10 real numbers and store them in an array named numArray. Then the program should do the following:
a) Display the array numArray in reverse.
b) Display the total of the numbers in the array numArray.
c) Display the maximum number in the array numArray.
Sample Run of the Program
Enter 10 values:
5.4 7.9 32.8 41.6 12.7 6 7.2 6.7 27.2 3.1
The array in reverse order:
3.1 27.2 6.7 7.2 6.0 12.7 41.6 32.8 7.9 5.4
The total of the array numbers is 150.6
The maximum number in the array is 41.6

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!