Assignment #84 and Noticing Even Numebers

Code

                        /// Name: Graham Pollock
                        /// Period: 5
                        /// Program Name: NENumbers
                        /// File Name: NENumbers.java
                        /// Date Finished: 0#/##/2016/

     public class NENumbers
        {
            public static void main(String[] args)
            {
                for (int n = 1; n <= 20; n++)
                {
                    int a = n % 2;
                    
                    if (a == 0)
                    {
                        System.out.println(n + "--Even");
                    }
                    
                    else 
                    {
                        System.out.println(n);
                    }
                }
            }
        }
        
    

Picture of the output

Assignment