Assignemnt #116

Code

 /// Name: Daniel Nguyen
    /// Period: 6
    /// Project Name: Table
    /// File Name: Table.java
    /// File Name: Table.java
    /// Date: 3/11/2015

 public class Digits
{
	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

Assignment 3
BACK HOME NEXT