Question: Part 3 Using Arrays, do the following: Declare two dimensional array myArray[3][4] and let the program do the following: 1. Enter the array's elements from

 Part 3 Using Arrays, do the following: Declare two dimensional array

Part 3 Using Arrays, do the following: Declare two dimensional array myArray[3][4] and let the program do the following: 1. Enter the array's elements from inside the program (Hard coded, i.e., the Array elements should be initialized, i.e., no need to enter them from Java console). 2. Calculate the total sum of the first row in the array. Calculate the average of all array's elements. Your results should be printed as follows: Welcome to the Third Part! The array's elements are: 10 12 10 20 15 10 30 18 10 40 19 10 The suruation of Row # 1 is : 100 The average for the entire array is : 17 3. Save the previous array in a one-dimensional array and display the elements of the new array as follows: The converted array's elements are: 10 20 30 40 12 15 18 19 10 10 10 10

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!