Please write a c++ programming code that can work on codechum according to the instructions below. Mirror Multidimensional Array by CodeChum Admin I'm stuck in a hall of mirrors! I was told that there was only one way for the exit to be revealed to me, and that is if I can determine whether the multidimensional array shown in the mirror looks the same as the one I'm currently holding! You need to help me get out, I'm begging you! Input 1. Number of rows of the multidimensional array Constraints The value is >= 2. 2. Number of columns of the multidimensional array Constraints The value is >= 2. 3. Values of the multidimensional array. Output The first line will contain a message prompt to input the number of rows. The second line will contain a message prompt to input the number of columns. The succeeding lines will prompt to input the values of the multidimensional array. The last line will contain the message "mirror" - if the array is a mirror, and "not" - if the array is not a mirror. Enter·the·number·of·rows:·3 Enter·the·number·of·columns:·3 4·3·4 3·8·3 10·1·10
Please write a c++ programming code that can work on codechum according to the instructions below.
Mirror Multidimensional Array
by CodeChum Admin
I'm stuck in a hall of mirrors! I was told that there was only one way for the exit to be revealed to me, and that is if I can determine whether the multidimensional array shown in the mirror looks the same as the one I'm currently holding! You need to help me get out, I'm begging you!
Input
1. Number of rows of the multidimensional array
Constraints
The value is >= 2.
2. Number of columns of the multidimensional array
Constraints
The value is >= 2.
3. Values of the multidimensional array.
Output
The first line will contain a message prompt to input the number of rows.
The second line will contain a message prompt to input the number of columns.
The succeeding lines will prompt to input the values of the multidimensional array.
The last line will contain the message "mirror" - if the array is a mirror, and "not" - if the array is not a mirror.
Enter·the·number·of·rows:·3
Enter·the·number·of·columns:·3
4·3·4
3·8·3
10·1·10
mirror
Step by step
Solved in 4 steps with 3 images