Assignemnt #114 and Multiplication Table

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Multiplication Table
    ///File Name: MultiplicationTable
    ///Date Finished: 3/22/16
    
    public class MultiplicationTable
    {
        public static void main( String[] args )
        {
            System.out.println(" x | 1   2     3     4     5     6     7     8     9  ");
            System.out.println("===+=========================================================");
            
            for( int x = 1; x <= 12; x++)
            {
                System.out.print(x + " | ");
                for( int y = 1; y <= 9; y++)
                {
                    int multi = x*y;
                    System.out.print(multi + "\t");
                }
                System.out.println("");
            }
        }
    }

    

Picture of the output

Assignment 114