For loops #109 (Not much of a challenge though..)
Code
/// Name: Amir Salehi
/// Period: 7
/// Program Name: Displaying some multiples
/// File Name:DSM.java
/// Date Finished: 4/20/2016
import java.util.Scanner;
public class DSM
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
System.out.println();
System.out.print( "Choose a number: " );
int number = keyboard.nextInt();
System.out.println();
for ( int n = 1 ; n <= 12 ; n = n+1 )
{
int x = number*n;
System.out.println( number + "x" + n + " = " +x );
}
System.out.println();
}
}
Picture(s) of the output