Assignemnt #110 Displaying Some Multiples

Code

    import java.util.Scanner;

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

Picture of the output

Assignment 1