Question: Write a program that defines three arrays of integers: A) a 2-dimensional array with 3 rows and 4 columns this array must be called numbers.B)
Write a program that defines three arrays of integers: A) a 2-dimensional array with 3 rows and 4 columns this array must be called numbers.B) an array (1-dimensional) with three elements called sumRows. C) An array (1-dimensional with four elements called sum columns. Your program then asks the user to enter integer numbers to be saved in the 2-dimensional array. Then your program calculates the sum of the elements in each row of the 2D array and stores the results in SumRows. Then your program calculates the sum of the elements in each column of the 2D array and stores the results in sumColumns.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
