You'd need to set up a way to interpret the numbers 1 to 12 as month names, use the srand(time(NULL)) statement in main, called ONCE to seed the random number generator. Then use ((rand()%11)+1) [I think that will generate 1 to 12!?] to get the number and replace a string variable with the resulting month name for display. I beleive srand and rand are included in cstdlib and you will need time or time.h for the time call used to seed the random generator.
/*What does not kill us, makes us drink far too much caffeine*/