Assignment 84: Noticing Even Numbers

Code

    /// Name: Ryan McAteer
    /// Period: 5
    /// Program Name: Noticing Even Numbers
    /// File Name: Assignment84.java
    /// Date Finished: 2/26/16

public class Assignment84
{
	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 == 0 )
            {
                System.out.println( x + "<" );
            }
        }
    }
}
    

Picture of the output

This Should Work