/* help soneone sell hamburgers */ #include using namespace std; const float TAX_RATE = .06; int main() { float price; int totalSold; float totalPrice, tax, totalAmount; cout << "Enter the nuber of hamburgers purchased => "; cin >> totalSold; cout << endl << endl; cout << "Enter the price for a hamburger => "; cin >> price ; cout << endl << endl; totalPrice = price * totalSold; tax = TAX_RATE * totalPrice; totalAmount = totalPrice + tax; cout << totalSold << " hamburgers at " << price << " each" << endl; cout << "Food Total " << totalPrice << endl; cout << "Tax " << tax << endl; cout << "Total Amount " << totalAmount << endl; return 0; }