Arrays

i seem to have forgotten my c++ basics Heres the problem:
Using the following data type

#define MaxMonth 10
typedef struct
{
char Month[MaxMonth];
int days
} MonthDays;

define an array of 12 structures of type MonthDays. Name the array convert[], and initialize the array with the names of the 12 months in a year the number of days in each month. Using the data type declared above, write a program that accepts a month from the user in numerical form and displays the name of the month and the number of days in the month. Thus, in response to an input of 3, the program would display, March has 31 days.
So, what's the question?
Topic archived. No new replies allowed.