// CSE 142, Autumn 2009, Marty Stepp // This program prints a multiplication table of 5 rows by 10 columns // using nested loops. public class MultiplicationTable { public static void main(String[] args) { for (int i = 1; i <= 5; i++) { for (int j = 1; j <= 10; j++) { System.out.print(i * j + "\t"); } System.out.println(); // to end the line } } }