// Knox7.1Exercises.cpp : This file contains the 'main' function. Program execution begins and ends there. // #include using namespace std; int main() { int accounts; double balance; cout << "Please input your total account balance in dollars: "; cin >> balance; cout << "\nPlease input the number of accounts you have: "; cin >> accounts; if (balance >= 25000) { cout << "\nYour membership type is Platinum."; } else if (balance >= 10000) { if (accounts >= 2) { cout << "\nYour membership type is Gold."; } else { cout << "\nYour membership type is Silver."; } } else { cout << "\nYour membership type is Copper."; } return 0; }