Assignemnt #110 and Multiples

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Multiples
    ///File Name: Multiples
    ///Date Finished: 3/18/16
    
    import java.util.Scanner;
    
    public class Multiples
    {
        public static void main( String args[] )
        {
            Scanner keyboard = new Scanner(System.in);
            
            int number, answer;
            answer = 1;
            
            System.out.print("Choose a number: ");
            number = keyboard.nextInt();
            System.out.println(" ");
            
            for( int m = 1; m <= 12; m++)
            {
                answer = number * m;
                System.out.println(number + "x" + m + " = " + answer);
            }
        }
    }

    

Picture of the output

Assignment 110