to determine whether the input file is an square or not

If square, inform the user, read the file into a two dimensional array, and print the square array to the output file named by the user. If not square, inform the user. I have attached the files. you need to work on program 13_1b. the testing files as well as the pictures to the output files are attached.