Computer Science, asked by girija99, 3 months ago

Write a program to read the size and the elements of a square matrix. Rotate the ith row elements ‘i’ times towards the left and then rotate the jth column elements ‘j’ times upwards. Print the resulting matrix.
Example:
4
Input matix:
A B C D
E F G H
I J K L
M N O P
Output:
A G I O
F L N D
K M C E
P B H J

Sample Input I:
4
A
B
C
D
E
F
G
H
I
J
K
L
M
N
O
P​

Answers

Answered by pushkar9523
0

Answer:

j): Convert the following Direct speech into Indirect

1. I said to Vishnu "How did you cross the river yesterday?"

2. Baby said “What are you doing here?”

3. The mother said “Who shall drink milk and take five toffees from

4. The child said "Who can take me to the fairy land?”

5. The Preacher said “Whose son was Hanuman?”

6. Rony said to her mother "When will my brother come back to B

7. The woman said “Where is Avinash?”

8. The lamb said to the wolf “How can I make the water dirty?”

9. “Who will bell the cat?” asked an old mouse. thor "How many birds are there in the

yaha answer kar dijiye Di !

Similar questions