nameToNumber

Write a program that asks the user to enter the String equivalent for a date. The program will then display the corresponding numerical equivalent. If the user enters a value outside of the allowed values, the program should display an error. The values are as follows:* January – 1
* February – 2
* March – 3
* April – 4
* May – 5
* June – 6
* July – 7
* August – 8
* September – 9
* October – 10
* November- 11