Question: Set RSIZE to 5 . Set CSIZE to 7 . Write a program that creates a matrix of RSIZE rows by CSIZE columns of numeric
Set RSIZE to Set CSIZE to Write a program that creates a matrix of RSIZE rows by CSIZE columns of numeric elements. Write a nested for loop that stores the numbers from to RSIZECSIZE in the matrix. After storing the values, calculate the sum of all the values in the array and display the sum.
Modify the program you wrote for Problem such that it adds a User given number to all elements of the matrix first, and then displays the sum of all elements.
Modify the program you wrote for Problem such that it multiplies a User given number to all elements of the matrix first, and then displays the sum of all elements.
Modify the program you wrote for Problem such that it exponentiates a User given power to all elements of the matrix first, and then displays the sum of all elements.
Modify the Program you wrote for Problem to ask the User for a row number. Display the row number of the matrix.
Modify the Program you wrote for Problem to ask the User for a column number. Display the column number of the matrix.
Modify the Program you wrote for Problem to ask the User for a row and a column number. Display the element of the matrix.
Modify the Program you wrote for Problem to loop asking for a row and column number and displaying the element, until the user enters in for the row number.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
