Code
/// Name: Afaf Nabeeha
/// Period: 7
/// Program Name: Displaying Some Multiples
/// File Name: Multiples.java
/// Date Finished: 3/8/2016 public class Multiples
import java.util.Scanner;
public class Multiples
{
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