content: import java.util.Scanner;
  
  public class Month {
      public static void main(String[] args) {
          try (Scanner scanner = new Scanner(System.in)) {
              System.out.println("Enter the number of the Month:");
              int Month = scanner.nextInt();
              switch (Month) {
                  case 1:
                      System.out.println("The Month is January");
                      break;
  
                  case 2:
                      System.out.println("The Month is February");
                      break;
                  case 3:
                      System.out.println("The Month is March");
                      break;
  
                  case 4:
                      System.out.println("The Month is April");
                      break;
  
                  case 5:
                      System.out.println("The Month is May");
                      break;
  
                  case 6:
                      System.out.println("The Month is June");
                      break;
  
                  case 7:
                      System.out.println("The Month is July");
                      break;
  
                  case 8:
                      System.out.println("The Month is August");
                      break;
  
                  case 9:
                      System.out.println("The Month is September");
                      break;
  
                  case 10:
                      System.out.println("The Month is October");
                      break;
  
                  case 11:
                      System.out.println("The Month is November");
                      break;
  
                  case 12:
                      System.out.println("The Month is December");
                      break;
  
                  default:
                      System.out.println("Invalid Month Number");
                      break;
              }
              scanner.close();
          }
  
      }
  
  }
  