// CSE 142, Summer 2008 (Helene Martin) // Prints out a multiplications table // Nested for loops reduce redundancy public class Mult { public static void main(String[] args) { for(int line = 1; line <= 4; line++) { for(int i = 1; i <= 5; i++) { System.out.print(i * line + "\t"); } System.out.println(); } } }