/// Name: Daniel Nguyen /// Period: 6 /// Project Name: Evenness /// File Name: Evenness.java /// Date: 3/11/2015 public class Evenness { public static void main( String[] args ) { for (int i = 0; i < 20; i++) { System.out.println((i + 1) +" "+ (isEven(i + 1) ? "<" : "") + (isDiv3(i+1)? "=":"") ); } } public static boolean isEven(int n) { return (n%2==0); } public static boolean isDiv3(int n) { return (n%3==0); } }