//--------------------------------------- // ch4p33.java // T. Manikas // 2024 Aug 18 // Example based on Exercise 33 in Null and Lobur textbook //--------------------------------------- class IncLoop { public static void main(String args[]) { int X; X = 1; System.out.println(X); while (X < 10) { X = X + 1; System.out.println(X); } } }