Assignemnt #105 and Evenness Function Code /// Name: Yordan Rashkov /// Period: 7 /// Program Name: Evenness Function /// File Name: Evenness.java /// Date Finished: 3/29/2016 public class Evenness { public static void main ( String[] args ) { for ( int x = 1 ; x <= 20 ; x++ ) { System.out.print( x + " "); if ( isEven(x) == true && isDivisibleByThree(x) == true ) System.out.println("<="); else if ( isEven(x) == true ) System.out.println("<"); else if ( isDivisibleByThree(x) == true ) System.out.println("="); else System.out.println(); } public static boolean isEven( int n ) { if ( n % 2 == 0) return true; else return false; } public static boolean isDivisibleByThree ( int n ) { if ( n % 3 == 0) return true; else return false; } } }