Assignemnt #84

Code

/// Name: Sam Menar
/// Period: 6
/// Program Name: Noticing Even Numbers
/// File Name: NoticingEvenNumbers.java
/// Date Finished: 2/29/2015
public class NoticingEvenNumbers
{
    public static void main( String[] args )
    {
        for( int n = 1; n <= 20; n++ )
        {
            if ( n % 2 == 0 )
                System.out.println(n + "<");
            else 
                System.out.println(n);
        }
    }
}
            


    

Picture of the output

Assignment 13