/// Name: Boris Kazantsev /// Period: 6 /// Program Name: Even /// File Name: Even.java /// Date Finished: 3/28/2016 public class Even { public static void main( String[] args ) { for (int i = 0; i < 20; i++) { System.out.println((i + 1) +" "+ (Even(i + 1) ? "<" : "") + (Div3(i+1)? "=":"") ); } } public static boolean Even(int n) { return (n%2==0); } public static boolean Div3(int n) { return (n%3==0); } }