Assignment #110 DisplayingSomeMultiples

Code

    
    /// Name: Lacey Reese 
    /// Period: 5
    /// Program Name:  DisplayingSomeMultiples
    /// File Name:  DisplayingSomeMultiples.java
    /// Date Finished 4/25/2016
                     
import java.util.Scanner;
    
    public class DisplayingSomeMultiples 
    {
        
        public static void main(String[] args )
        {
            
            Scanner keyboard = new Scanner(System.in);
            
            System.out.println();
            System.out.println( "Choose a number: " );
            int number = keyboard.nextInt();
            System.out.println();
            
            for ( int i=1; i<13; i++ ) {
                int mult = i * number;
                System.out.println( number + "x" + i + " = " + mult );
            }
            
        }
    }

        
    
    

Picture of the output

Assignment 110