Assignment #116

Code

    /// Name: Mahima Choudhary
    /// Period: 6
    /// Program Name: Get Individual Digits
    /// File Name: GetIndiviualDigits.java
    /// Date Finished: 2/8/2016
    
    public class GetIndividualDigits
    {
        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