//if with a boolean variable #include using namespace std; int main() { int age; bool senior; cout << "How old are you? "; cin >> age; senior = (age > 62); if (senior) cout << "You are eligible for a discount."<< endl; else cout << "No discount." << endl; system("pause"); return 0; }