#include #include #include //for class string (i.e., data type string) #include //for the functions time and localtime using namespace std; int main() { //Get the current month of the year (0 to 11 inclusive, 0 means January) time_t t {time(nullptr)}; tm *p {localtime(&t)}; int month {p->tm_mon}; string a[] { //an array of 12 strings "January", // 0 "February", // 1 "March", // 2 "April", // 3 "May", // 4 "June", // 5 "July", // 6 "August", // 7 "September", // 8 "October", // 9 "November", //10 "December" //11 }; return EXIT_SUCCESS; }