Answer to Question #53998 in Java | JSP | JSF for mallika
You are given a square matrix of dimension N. Let this matrix be called A. Your task is to rotate A in clockwise direction byS degrees, where S is angle of rotation. On the matrix, there will be 3 types of operations viz.
Rotate the matrix A by angle S, presented as input in form of A S
Query the element at row K and column L, presented as input in form of Q K L
Update the element at row X and column Y with value Z, presented as input in form of U X Y Z
Print the output of individual operations as depicted in Output Specification