Make test cases and test it, have you coded it or not?
For me I would leave out at least the conio, clrscr and getch bit. And how are you reading the 33 or 55 square matrixes when it says input 3x3 matrix?
I can not imagine anybody typing in zillion useless numbers to get result only from middle column and one whole line, so I think input should be without prompting (coming from file through indirection, as this is main program, not function). You only need to save one total for column and one total for the row, two scalar variables.
for(j==1)
This does not make sense.
pyTony
pyMod
6,305 posts since Apr 2010
Reputation Points: 879
Solved Threads: 986
Skill Endorsements: 26