/// Name: Afaf Nabeeha
/// Period: 7
/// Program Name: Noticing Even Numbers
/// File Name: Even.java
/// Date Finished: 12/20/2015 public class Even
public class Even
{
public static void main( String[] args )
{
for ( int x = 1; x <= 40; x = x + 4 )
{
if ( x % 2 != 0 )
{
System.out.println( x );
}
else if ( x % 2 == 0 )
{
System.out.println( x + "<" );
}
}
}
}
Picture of the output