Assignemnt #84 and Even Numbers

Code

    ///Name: Daniel Tiffany-Appleton
    ///Period: 7
    ///Program Name: Even Numbers
    ///File Name: EvenNumbersEvenNumbers
    ///Date Finished: 2/4/16
    
    public class EvenNumbers
    {
        public static void main( String[] args )
        {
        
            for ( int x = 1 ; x <= 20 ; x = x+1 )
            {
                if (x % 2 == 0)
                {
                    System.out.println( x + "<" );
                } 
                
                else if ( x % 2 == 1 )
                {
                    System.out.println( x );
                }
                
            }
            
        }
    }
        


    

Picture of the output

Assignment 84