#include<iostream>
using namespace std;
int main()
{
// Initialize season and likeCold variables
char season, likeCold;
// Get season from user
cout << "Enter season (sUmmer, Fall, sPring, Winter): ";
cin >> season;
// Get cold preference from user
cout << "Do you like the cold? ";
cin >> likeCold;
if ( likeCold=='T' && season=='W' )
cout << "Good. ";
else
{
if ( likeCold=='F' && (season=='U' || season='F' || season=='P') )
cout << "Good. ";
else
cout << "Too bad. ";
}
switch ( season ) {
case 'W' : // For winter
cout << "It is cold!\n";
break;
case 'P' : // For spring
cout << "It is warm!\n";
break;
case 'U' : // For summe
cout << "It is hot!\n";
break;
case 'F' : // For fall
cout << "It is cool!\n";
break;
}
return 0;
}