Avinashmaurya.com

It will create a square matrix (same number of rows and columns) by deleting rows or columns as necessary, and then write this new square matrix to a new file called squarefile.dat. For example, if the original matrix is 4 x 6, the new matrix would be created by deleting the fifth and sixth columns to result in a 4 x 4 matrix. ................
................