Assignment #84 Noticing Even Numbers

Code

    /// Name: Matthew Lorence
    /// Period: 5
    /// Program Name: NoticingEven
    /// File Name: NoticingEven.java
    
    public class NoticingEven
    {
        public static void main (String[] args)
        {
            
            for ( int n = 1; n<=20; n = n + 1 )
            {
                if (n%2 == 0)
                {
                    System.out.println(n + " <");
                }
                else
                {
                    System.out.println(n);
                }
            }
        }
    }
        
        
        
    

Picture of the output

Assignment 84