Assignment #84 and Noticing Even Numbers

Code

    ///Name: Tim Gibson
    ///Period: 6
    ///Project Name: Noticing Even Numbers
    ///File Name: Even.java
    ///Date Finished: 11/3/15
        
    public class Even
    {
        public static void main ( String[] args )
        {
            for ( int x = 1; x <= 20; x++ )
            {
                System.out.print(x);
                
                if ( ( x % 2 ) == 0 )
                    System.out.println( " <" );
                else
                    System.out.println();
            }
        }
    }
        

Picture of the output

Assignment84