Assignment #114 and Multiplaction table

Code

/// Name: Trent Lane
    /// Period: 6
    /// Program Name: Multiplication Table
    /// Date Finished: 3/18/2016
    
    public class MultipleTable
    {
        public static void main(String[] args)
        {
            System.out.println("x | 1\t2\t3\t4\t5\t6\t7\t8\t9");
         
            for (int a = 1; a < 13; a++)
            {
                System.out.print( a + " | ");
                
                for (int b = 1; b < 10; b++)
                {
                    System.out.print( (a*b) + "\t" );
                }
                System.out.println();
            }
        }
    }

 

Picture of the output

Assignment 71