Hello! I have a exercise about matrices.
here is the question:
is given a square matrix [M] [N] which determines the amount of each column.
Thank u!

Do you mean the sum of each column? You will need two loops to do that, the outer loops counts N columns and the inner loop counts M rows. It's almost identical to the way you would do it on paper or in an Excel spreadsheet.

YES! Can u please solve this exercise for me?
Thank u!

No, I will not solve it for you, but we will help you solve it yourself. Post some code that you have started so we can see where you need help.