Question: PP 0 2 Task: please write a program to implement the following requirements: Original matrix ( matrix # 0 1 ) : size: 5 *

PP02 Task: please write a program to implement the following requirements: Original matrix (matrix #01): size: 5*5, you will use a two-dimensional array to implement the matrix and fill in the cells of the array by initializing it with the following information: 1111101111001110001100001 A user will input a number (0,1,-1), your program needs to output a rotated version of matrix #01 as below. When the user inputs -1, your program needs to output the word error../a.out Please input a number to tell use how to change the matrix: 00000100011001110111111111./a.out Please input a number to tell use how to change the matrix: 11111111110111001100010000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!