Assignemnt #114 and Multiplication Table

Code

//name: ben borglin
///period: 6
///program name: multiplication table
///file name: multTable.java
///date finished: 4/12/17

public class multTable
{

    public static void main(String[] args)
    {
        
        
        System.out.println("x| 1      2      3      4      5      6      7      8      9|");
        System.out.println("=+==========================================================|");
        for (int n=1; n<=12; n++)
        {
            System.out.println("");
            System.out.print(n + "|");
            
            for (int u=1; u<=9; u++)
            {
                int x = n*u;
                
                System.out.print(x + "\t");
            }
            
        }
    }
}
                
                
            
    
        
    

Picture of the output

Assignment 114