]
/// Name: Lacey Reese
/// Period: 5
/// Program Name: NoticingEvenNumbers
/// File Name: NoticingEvenNumbers.java
/// Date Finished 2/8/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 + " <" );
}
else {
System.out.println( n );
}
}
System.out.println();
}
}
Picture of the output
//