Assignemnt #110 and Displaying Some Multiples

Code

/// Name: Raff Lisbona
/// Period: 6
/// Program Name: Displaying Some Multiples
/// File Name: DisplayingSomeMultiples.java
/// Date Finished: 4/20/2016

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

Picture of the output

Assignment 8