Assignment #84 and Noticing Evens

Code

        //Name: Mark Katz
    ///Period: 6
    ///Program Name: Matching Even Numbers
    ///File Name: even.java
    ///Date Finished: 11/9/15 
    
public class even
{
    public static void main( String[] args )
    {
    
        
        for ( int x =1; x <= 20; x++)
        {
            int n = x % 2;
            if (n == 0)
            {
                System.out.println( x + "<" );
            }
            else 
            {
                System.out.println( x + " " );
            }
        }
    }
}
-
    

Picture of the output

Assignment85