Assignemnt #80 and count.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: count
    /// File Name: count.java
    /// Date Finished: 2/22/2016
    
    import java.util.Scanner;
    
    public class count{
        public static void main(String[] args){
            Scanner keyboard = new Scanner(System.in);
            
            System.out.print("Count to: ");
            int num = keyboard.nextInt();
            
            for ( int n = 0; n <= num; n++){
                System.out.print(n + " ");
                
            }
            System.out.println();
        }
    }


   
    

Picture of the output

Assignment 80