Source of 9.5.java


  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:       System.out.println(integer);
  7:    else
  8:    {
  9:       System.out.println(integer);
 10:       countDown(integer - 1);
 11:    } // end if
 12: } // end countDown