Closed ghost closed 1 year ago
Hey @yuirike
I looked over your code and tested it but it seems like you misinterpreted the task. Here is how you calculate the square of a matrix:
The task is very poorly written so no worries, I had difficulty understanding it in the beginning too. 😅
In the future: Try to verify your solutions before submitting them. It would have been very easy to realize the code not resulting in the right solution by googling for a square matrix calculator.
We reopened your branch so you can add your new code onto the same one as before. So you can open a new pull request from there again.
Either way: Thanks already for contributing <3
Verify my submission please. Note that I also added a general case, that one allows users to play around and see how the code can also print out n x n matrices. The general case does not use Scanf but it keeps the functionality of the submission.