/** * Nested loops used to output a very simple form of multiplication tables * * @author TK Rogers * @version 12-23-10 */ public class MultiplicationTable { public static void main ( ) { for ( int x = 2 ; x <= 5 ; x++ ) { for ( int y = 2 ; y <= 5 ; y++ ) { System.out.println ( x + " x " + y + " = " + ( x * y ) ) ; } System.out.println ( "\n"); } } }