1: // @author Frank M. Carrano, Timothy M. Henry 2: // @version 5.0 3: public static void countDown(int integer) 4: { 5: if (integer >= 1) 6: { 7: System.out.println(integer); 8: countDown(integer - 1); 9: } // end if 10: } // end countDown 12: public static void countDown(int integer) 13: { 14: while (integer >= 1) 15: { 16: System.out.println(integer); 17: integer = integer − 1; 18: } // end while 19: } // end countDown