Program 114: Multiplication Table

///Name: Ilana Levy
///Period: 5
///Program Name: Multiplication Table
///File Name: multTable.java
///Date Finished: 10/5/2015

public class multTable
{
        public static void main( String[] args )
        {
                System.out.println( "x | 1\t2\t3\t4\t5\t6\t7\t8\t9\t" );
                System.out.println( "==+===================================================================================================" );
                
                for ( int y = 1; y < 13; y++ )
                {
                        for ( int x = 1; x < 13; x++ )
                        {
                                if ( x == 1)
                                System.out.print( y + " | " + ( y * x ) + "\t");
                            else 
                                System.out.print( y * x  + "\t");
                        }
                    System.out.println();
                }
        }
}