Assignemnt #84

Code

///colin hinton
///5th period
///Even.java
///12/3/2015

class Even
{
    public static void main (String [] args)
    {
        for ( int x = 1 ; x <= 10 ; x = x + 1)
        {
            if (x%2 == 0)
            {
                System.out.println(x + " <");
            }
            else 
            {
                System.out.println(x);
            }
        }
    }
}
    

Picture of the output

Assignment 1