Since you are just starting, I assume you will be using a hard-coded array?
Code:
const string MonthName[] = {
"January",
"February",
"March",
"April",
"May",
"June",
"July", // my favorite
"August",
"September",
"October",
"November",
"December"
};
Now, since arrays are zero based (array of size 12 would start at 0 and end with 11), you would want to take the number input by the user and subtract 1 for the array position of that month. You should also check to insure the value will fall within the bounds of your array.
Code:
int Number = 0;
cin >> Number;
if ((Number > 0) && (Number <= 12))
cout << MonthName[Number - 1] << endl;
David