Assignment #116

Code

    /// Gian Adoremos
    /// Period: 7
    /// Program Name: HundrethSixteenth Program
    /// File Name: GettingIndividualDigits.java
    /// Date Finished: 4/27/16
    
    public class GettingIndividualDigits
    {
        public static void main(String[] args)
        {
            for (int a = 1; a < 10; a++)
                for (int b = 0; b < 10; b++)
                {
                    System.out.println( a + "" + b + ", " + a + "+" + b + " = " + (a+b) );
                }
        }
    }
      } 

Picture of the output

Assignment 116