/// Name: Afaf Nabeeha
/// Period: 7
/// Program Name: Getting Individual Digits
/// File Name: Digits.java
/// Date Finished: 3/8/2016 public class Digits
public class Digits
{
public static void main( String[] args )
{
System.out.println();
for ( int i = 1; i<10; i++ )
{
for ( int n = 0; n<10; n++ )
{
int c = i + n;
System.out.println( i + "" + n + ", " + i + "+" + n + " = " + c );
}
}
}
}
Picture of the output