Assignemnt #84: NoticingEvenNumbers

Code

    /// Name: Kelsey Lieberman
    /// Period 5
    /// Program Name: NoticingEvenNumbers
    /// File Name: NoticingEvenNumbers.java
    /// Date Finished: 1/5/2016
    
public class NoticingEvenNumbers
{
    public static void main(String[] args)
    {
        for ( int n = 1 ; n <= 20 ; n = n + 1)
        {
            if ( n % 2 == 0 )
            {
                System.out.println( n + "\t<" );
            }
            else
            {
                System.out.println( n );
            }
        }
    }
}
    

Picture of the output

Assignment 84