Assignment # 110 and Displaying Multiples

Code

    /// Name: Tommy Oyuntseren
    /// Period: 7
    /// Program Name: DisplayingMultiples
    /// File Name: DisplayingMultiples.java
    /// Date: 5/4/16

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

Picture of the output

Assignment 110