Assignment 116: Getting Individual Digits

Code

  ///Name: Ryan McAteer
  ///Period: 5
  ///Project Name: Digits
  ///File Name: Assignment116.java
  ///Date: 5/2/2016
    
public class Assignment116
{
	public static void main( String[] args ) throws Exception
	{
		System.out.println();

		for ( int i = 1; i < 10; i++)
		{
			for ( int j = 0; j < 10; j++)
			{
				System.out.print(i);
				System.out.print(j+", "+i+"+"+j+" = "+ (i+j)+"\n");
			}
		}

		System.out.println();
	}
}

    

Picture of the output

This Should Work