/* The program will determine if a number is even or not If the number is even we will add it to the sum * */ public class SumEven { public static void main(String[] args) { System.out.print("Even " + "odd\n"); for(int i = 0; i < 11; i++) { if(i%2==0) { System.out.print(i + "\n"); } else { System.out.print("\t " + i + "\n"); } } } }