Question: 10. Write a Java method that takes a one column array of double numbers as a parameter, and returns a (15 points] three columns array
10. Write a Java method that takes a one column array of double numbers as a parameter, and returns a (15 points] three columns array of double numbers that contains the cubes of the numbers of the received array in the first column, the square roots of the numbers of the received array in the second column, and the product of the calculated numbers in the first and second columns to be in the third column, respectively. e.g. If one of the element in the received array is 9, the corresponding result should be 729, 3, and 2187, respectively, in the returned array.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
