Assignemnt #84: Noticing Even Numbers

Code

    /// Name: Cassie
    /// Period: 6
    /// Program Name: Noticing Even Numbers
    /// File Name: noticing.java
    /// Date Finished: 12/11/2015
    
    class noticing {
        
        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 );
                }
                
            }
            
            System.out.println();
        }
    }
    

Picture of the output

Assignment 84