Assignment #80 and Counting Machine

Code

           //Name: Mark Katz
    ///Period: 6
    ///Program Name: Counting 
    ///File Name: counting2.java
    ///Date Finished: 11/4/15 

import java.util.Scanner;

public class counting2
{
    public static void main( String[] args )
    {
        Scanner keyboard = new Scanner(System.in);
        
        int count;

        System.out.println( "Count to: " );
        count = keyboard.nextInt();
        

        for ( int n = 0; n <= count; n++ )
        {
            System.out.println( n + " " );
        }

    }
}

    

Picture of the output

Assignment80