Assignment #80 and Counting Machine

Code

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

        

Picture of the output

Assignment80