// out 1, 2, ... 10 class CountUp { public static void main(String[] args) { int count = 1; while (count <= 10) { System.out.print(count+" "); count ++; } System.out.println ("\n\n\n"); } }