// out even 20, 22, .. 40 class CountUpEven_20_40 { public static void main(String[] args) { int count = 20; while (count <= 40) { System.out.print(count+" "); count = count + 2; } System.out.println ("\n\n\n"); } }