Question: USE C++, Please type! Thanks! Write a program that defines three arrays of integers: A) A 2-dimensional array with 3 rows and 4 columns. This
USE C++, Please type! Thanks!
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 sumColumns. Your program asks the user to enter integer numbers to be saved in the 2-dimensional array(numbers). 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 elemts in each column of the 2D array and stores the results in sumColumns.
Please show it like
Sum of row 1:
Sum of row 2:
Sum of row 3:
Sum of column 1:
Sum of column 2:
Sum of column 3:
Sum of column 4:
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
