Question: Task: please write a program to implement a 3 * 3 matrix containing the integers from 1 to 9 . Then when a user inputs
Task: please write a program to implement a matrix containing the integers from to Then when a user inputs an integer, a new matrix should be generated with each cell multiplied by that integer. An example of the output is shown as follows: aout The old matrix is: Please input an integer: The new matrix is: Details: The program should include twodimensional arrays. The format of the new matrix should have cells that are rightaligned. The input integer should be in range to If the user inputs an outrange number, please return a out of the range to to user. PN
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
