One testcase failing -error?

This is my code https://ide.codingblocks.com/s/139395
Test case #2 is failing. What should I change?

@shruthi019 hey shurti the problem with your code is that you have to include all statement of if you are including only less than case consider less than equal to case.

I changed that. Still it is failing

I have tried running the code with square matrix and rectangular matrices also. It is working fine for them so I don’t know which testcase is failing.

@shruthi019 this doubt is resolved on whatsapp