Two Matrix Spiral Print
The program must accept two square matrices which are of size N*N . Then the values in the matrices must be printed spirally in clock wise direction in a single line. The values in a specific row or column of the first matrix must follow the values in the same row or column of the second matrix. Boundary Condition(s): 1 <= N <= 30 1 <= Integer value in the matrix <= 1000 Input Format: The first line contains N. Next 2N lines contain N values each (First N lines contain the values in the first matrix and the next N lines contain the values in the second matrix). Output Format: The first line contains 2*N*N values in the two matrices printed spirally. Example Input/Output 1: Input: 5 10 20 30 40 50 60 70 80 90 91 88 86 34 35 36 21 22 23 24 25 71 72 73 74 75 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 Output: 10 20 30 40 50 101 102 103 104 105 91 36 25 75 110 115 120 125 74 73 72 71 124 123 122 121 21 88 ...