Question: write a method public static void tableMult(float array[][]){} that accepts a 2D floating point array as an argument, multiplies each element of the array with

write a method

public static void tableMult(float array[][]){}

that accepts a 2D floating point array as an argument, multiplies each element of the array with a value provided by the user, and prints the results such that each number is represented in total 6 digits with 2 places after the decimal point. Call this method in main, such that the two dimensions of the array are equal to the least significant non-zero digits of your student number.

Following is a sample output ( say my student number is 0340)

1133.45 25.01 116.52 9.37

12.50 1.05 2999.32 4.50

450.65 112.39 0.99 6020.51

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!