Assignment #81 and Counting Machine revisited

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Counting Machine Revisited
    ///File Name: Counting2.java
    ///Date Finished: 10/30/15
        
    import java.util.Scanner;
    
    public class Counting2
    {
        public static void main ( String[] args )
        {
            Scanner keyboard = new Scanner(System.in);
            
            int a, b, c, n;
            
            System.out.print( "Count From: " );
            a = keyboard.nextInt();
            
            System.out.print( "Count to: " );
            b = keyboard.nextInt();
            
            System.out.print( "Count by: " );
            c = keyboard.nextInt();
            
            for ( n = a ; n <= b ; n = n + c )
            {
                System.out.print( n + " " );
            }
            System.out.println();
        }
    }
        

Picture of the output

Assignment81