Given my current program, I would like it to calculate the sum of each column and each row once the user has entered all their values. My current code seems to be just doubling
For main diagonal
for(int i=0;i