Assignment #110 and Displaying Some Multiples

Code

                        /// Name: Graham Pollock
                        /// Period: 5
                        /// Program Name: DSM 
                        /// File Name: DSM.java
                        /// Date Finished: 04/16/2016/

     import java.util.Scanner;
    
    public class DSM
    {
        public static void main(String[] args)
        {
            Scanner kb = new Scanner (System.in);
            
            System.out.print("Choose a number: ");
            int x = kb.nextInt();
            System.out.println("");
            
            for ( int n = 0; n <= 12; n++)
            {
                int product = x * n;
                System.out.println(x + "x" + n + " = " + product);
            }
        }
    }

    

Picture of the output

Assignment