Assignment 116; Digits

Code

// Donovan Rich
// Period 6
// Getting Individual Digits
// Digits.java
// 5/3/2016

public class Digits
{
	public static void main( String[] args )
	{
		for ( int a=1; a <= 9; a++ )
		{
			for ( int b=0; b <= 9; b++ )
			{
				System.out.println( a + "" + b + ", " + a + "+" + b + " = " + (a+b) );
			}
		}

		System.out.println("\n");

	}
}


    

Picture of the output