//--------------------------------------------------------- // Invoice // // Given an invoice number, the name of the item ordered, // the quantity, and the unit price, this program displays // an invoice for the order. // // REPLACE THIS WITH YOUR NAME // Asbury College // Sep 2007 //--------------------------------------------------------- #include #include #include using namespace std; const double TAXRATE = 0.06; int main() { string invoiceNum; string itemName; int quantity; double unitPrice; double extendedPrice; double tax; double totalDue; cout << "ORDER INFORMATION\n\n"; // Get the invoice number, the item, the quantity, // and the unit price from the user. /* REPLACE THIS COMMENT LINE WITH YOUR CODE */ // Calculate the extended price, the tax, and the // total due /* REPLACE THIS COMMENT LINE WITH YOUR CODE */ // Display the invoice /* REPLACE THIS COMMENT LINE WITH YOUR CODE */ return 0; }