Assignment 110: Displaying Some Multiples

Code

    ///Name: Ryan McAteer
///Period: 5
///Project Name: Displaying Some Multiples
///File Name: Assignment110.java
///Date: 4/29/2016

import java.util.Scanner;

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

Picture of the output

This Should Work