Assignemnt #114 Multiple

Code

    /// Name: Caelan Dorstad
    /// Period: 6
    /// Program Name: Multi
    /// File Name: Multi.java
    /// Date Finished: 5/5/2016
    
  public class Multi{
    public static void main(String[] args)
    {
        
        
        for(int x = 0; x < 13; x++)
        {
            for (int y = 0; y < 10; y++)
            {
                if (x==0)
				{
					if (y!=0)System.out.print("    "+y);
					if (y==9) System.out.println("\n ------------------------------------------------------------");
				}
				else
				{
					if (y  ==0) System.out.print(x+" |  ");
					else System.out.print((x*y)+"    ");
				}
            }
        System.out.println();
        }
    System.out.println("\n");
    }
}
            
                               

    

Picture of the output

Assignment 10