inverted

CF

Inverted L-Shaped Matrix

Given a squarematrix of size S, print the matrix in the format given in Example Input/Output section. Input Format:The first line…