#include #include using namespace std; int main() { const string hnev[12]={"jan","feb","march","apr","may","june","july","aug","sept","oct","nov","dec"}; string month, season; for(int i=0; i<12; ++i) cout<>month; for(i=0; i<12&&hnev[i]!=month; ++i); if (i>11) cout<<"it's not a valid name, give it again: " <11); switch(i) { case 0: case 1: case 11: season="winter"; break; case 2: case 3: case 4: season="spring"; break; case 5: case 6: case 7: season="summer"; break; case 8: case 9: case 10: season="fall"; break; } cout<<"the season is: "<