Assignment #84 and Noticing Even Numbers

Code

    /// Name: Tim Chuang
/// Period: 7
/// Program Name: Noticing Even Numbers
/// File Name: NoticingEvenNumbers.java
/// Date Finished: 3/4/2016

import java.util.Scanner;

public class NoticingEvenNumbers
{
    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