1. In program 1st was of to write code to display pattern based on the input. i.e input is of 3 than 4 rows like 3 3 3,3 1 3,3 2 3,3 3 3 2. Program to rotate an 2d array 90 degree either right or left side based on the flag value
Sigiloso
in the 2nd question you have initialize another 2nd array whose rows are equal to columns or original and vice versa than have wrote 2 for loops and have configure row and column positions of each