Question: its c++ program Q3: write c++ program to do: 1. Define a two-dimension Array named x of sixe Grows and 6 columns of type double
its c++ programQ3: write c++ program to do: 1. Define a two-dimension Array named x of sixe Grows and 6 columns of type double 2. Read the data from the keyboard into the array x. 3. Print array x. 4. Find and print the sum of all elements in array x. 5. Find and print the sum of all elements on the main diagonal in array x. 6- Find and print the sum of all elements above the main diagonal in array x. 7. Find and print the sum of all elements below the main diagonal in array X. 8. Find and print the sum of each row in array x. 9. Find and print the sum of each column in array x. 10- Find and print the maximum element an array x. 0.0 0.1 0.2 0.3 0.5 0.4 1,0 1.1 1,2 1,3 14 1.5 Above main diagonal 2.0 2.1 2.2 2.3 2.4 2.5 below main diagon 3.0 3.1 3,2 3,3 3.4 3,5 4.0 4,1 4.2 3 5,0 5,1 5.2 5.3 5,4 5,5 1 Main diagonal
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
