Assignment #84

Code

    
    ///Name: Cody Swain
    ///Period: 6
    ///Project Name: EvenNumbers
    ///File Name: EvenNumbers.java
    ///Date: 1/13/16
    
    
    public class EvenNumbers
    {
        public static void main( String[] args )
        {
            for ( int x = 1; x <= 20; x++ )
            {
                if ( x%2 == 0 )
                {
                    System.out.println( x + " < ");
                }
                else 
                {
                    System.out.println( x );
                }
            }
        }
    }

    

Picture of the output

Assignment 84