Hello, I am making rows and columns in the form of a multiplication table, listed below is my code:
package assignments; public class MultTable { public static void main (String [] args) { int row, column, x, y; for(row = 0; row < 8; row++) { System.out.println(); for(column = 0; column < 15; column++) { System.out.printf ("%3d", column*row); }//tier 2 for loop: columns }//tier 1 for loop: rows System.out.println (); } }
If you see my sample run you can see that I have the multiplication table down but, I haven't completed it.
I have to make the bottom left half of the whole table blank somehow
for example, I have to make it halfway through the middle of the table the bottom left half full of white space...
5 6 7 8 9
12 14 16 18
21 24 27
32 36
90
hm, it's supposed to be the other way around horizontally.