public class EvennessMehtod { public static void main( String[] args ) { for (int n=1; n<=20; n++) { System.out.print(n+ " "); if (isEven(n)) System.out.print("<"); if (isDivisibleBy3(n)) System.out.print("="); System.out.println(); } } public static boolean isEven(int n) { boolean result = (n%2 == 0); return result; } public static boolean isDivisibleBy3(int n) { boolean result = (n%3 == 0); return result; } }