Question: Write a Java program named RealNumbers that asks the user to enter 10 rcal numbers and store them in an array named numArray. Then the
Write a Java program named RealNumbers that asks the user to enter 10 rcal numbers and store them in an array named numArray. Then the program should do the following: (1.5, 1.5, 2 marks) 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
Get step-by-step solutions from verified subject matter experts
