Assignment 84

Code

///Matthew Hughs
///5th period
///Even.java
///3/31/2016

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

Countingfor