Hmm. You asked in the first post how to get totals for each column & row. Then the second post you asked to get simple single line output of numbers entered.

Which question is the real question? I am confused on what you need.
Lock Down Reviewed by Lock Down on . Need help in JAVA import java.io.*; public class array { public static InputStreamReader digi = new InputStreamReader (System.in); public static BufferedReader cool = new BufferedReader (digi); public static void main (String args) throws Exception { System.out.print("Number of rows? "); int b = Integer.parseInt(cool.readLine()); Rating: 5