/* Andras Konya 9/24/01 Chapter 3 Exercise 13 --- Fast Food Restaurant*/ #include int main () { double burger; cout << "Enter the number of burgers: "; cin >> burger; double fries; cout << "Enter the number of fries: "; cin >> fries; double soda; cout<< "Enter the number of sodas: "; cin >> soda; cout << endl; cout.setf(ios::fixed); cout.precision(2); cout << "The total before tax is: $"; cout << ((burger*1.49)+(fries*0.89)+(soda*0.99)); cout << endl; cout << "The tax is: $"; cout << ((burger*1.49)+(fries*0.89)+(soda*0.99))*.06; cout << endl; cout << "The grand total is: $"; cout << ((burger*1.49)+(fries*0.89)+(soda*0.99))+ (((burger*1.49)+(fries*0.89)+(soda*0.99))*.06); cout << endl; cout << endl; double money; cout << "Enter the amount tendered: $"; cin >> money; cout << "The change is: $"; cout << ((money - ((burger*1.49)+(fries*0.89)+(soda*0.99))+ (((burger*1.49)+(fries*0.89)+(soda*0.99))*.06) )); char dummy; cin >> dummy; return (0); }