#84

Code

  /// Name: Josh Bautista
  /// Period: 6
  /// Program Name: Noticing Even Numbers
  /// File Name: FirstProg.java
  /// Date Finished: 2/26/2015
  
  public class NEN
{
    public static void main( String[] args )
    {
        
        
        
        for ( int x1 = 1 ; x1 <= 20 ; x1 = x1 + 1 )
        {
            System.out.println();
            System.out.print( x1 );
            
        if ( x1 % 2 == 0 )
        {
            System.out.print( " <" );
        }
    }
        System.out.println();
        System.out.println();
} 
    }
    

Picture of the output

Assignment 4