So, i have to do a program where the user input nXn matrix (like 3x3, 4x4, etc.) first. And then the matrix. But the output must follow the order on 1 image.
so if the input like this (first line the n for nXn, and second line is the matrix):
3
6 6 9
1 5 1
2 7 7
the output will be like this:
6 6 9 1 7 7 2 1 5
please help me if you have a spare time :D TYSM!