//if with a boolean #include using namespace std; int main() { int temp; bool pleasant; cout << "What is the temperature? "; cin >> temp; pleasant = ( ??? ); if (pleasant) cout << "Pleasant weather!\n; else cout << "Not.\n"; system("pause"); return 0; }