int[][] A={1,2,3,4},
{2,3,4,5},
{3,4,5,6}};

for(i=0; i<3; i++){
for(j=0; j<4; j++){
System.out.print(A[i][j] "\t");
}
System.out.println();


PLEASE HELP
Trying to find out what i can do to get an output with the total row on the right side for example
Total
1 2 3 4 10
2 3 4 5 14
3 4 5 6 18