Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cout << "Thank you for your business!n";
- cout << endl << endl << endl;
- cout << fixed;
- cout << setprecision(2);
- cout << "Sub-total:" << setw(11) << "$" << SubTotal << endl;
- cout << "+Sales Tax:" << setw(12) << "$" << SalesTax << endl;
- cout << "-Discount:" << setw(13) << "$" << Discount << endl;
- cout << "+Shipping:" << setw(13) << "$" << ShippingCost << " (shipping to " << Destination << ")" << endl;
- cout << "=Total:" << setw(14) << "$" << Total << endl;
Add Comment
Please, Sign In to add comment