title: Display month name from a user input of a number between 1 and 12
body: <p>I am writing a program that lets the user enter a number between 1 and 12 and displays the month name for that month Number.</p>
  
  <p>This is the program I created, but that can't be the easiest, most efficient way to perform that task. Is there an easier way?</p>
  
  <pre><code>Dim Month As Integer
  Console.WriteLine("Which month is it?")
  Month = Console.ReadLine()
  
  Select Case Month
      Case 1
          Console.WriteLine("January")
      Case 2
          Console.WriteLine("February")
      Case 3
          Console.WriteLine("March")
      Case 4
          Console.WriteLine("April")
      Case 5
          Console.WriteLine("May")
      Case 6
          Console.WriteLine("June")
      Case 7
          Console.WriteLine("July")
      Case 8
          Console.WriteLine("August")
      Case 9
          Console.WriteLine("September")
      Case 10
          Console.WriteLine("October")
      Case 11
          Console.WriteLine("November")
      Case 12
          Console.WriteLine("December")
      Case Else
          Console.WriteLine("Error.")
  End Select
  </code></pre>