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
Your code is ok, but at the end for summation of column you should change the rows instead of column. like this:
System.out.println("\n");
for( int column = 0; column < columns; column++)
{
for(int row = 0; row < rows; row++)
{
array2d[row][column] = array2d[row][column] + array2d[row][column];
System.out.print(array2d[row][column] + " ");
}
System.out.println();
}