//Compound statements in if #include using namespace std; int main() { int age; cout << "How old are you? "; cin >> age; if (age > 62) { cout << "You are eligible for a discount."<< endl; cout << "How many CDs would you like to buy? "; cin >> number; } else { cout << "No discount." << endl; } system("pause"); return 0; }