//  Data Structures with Java by John R. Hubbard
//  Copyright McGraw-Hill, 2001
//  Problem 1.1 on page 20


public class Pr0101
{ public static void main(String[] args)
  { for (int i=0; i<14; i++)
      System.out.println("Month number " + i + " is named " + monthName(i));
  }
  
  public static String monthName(int month)
  { switch (month)
    { case  1: return "January";
      case  2: return "February";
      case  3: return "March";
      case  4: return "April";
      case  5: return "May";
      case  6: return "June";
      case  7: return "July";
      case  8: return "August";
      case  9: return "September";
      case 10: return "October";
      case 11: return "November";
      case 12: return "December";
    }
    return "";
  }
}
