# (Solved) : Tunctions Wilmplementare Follows 2 3 Copy Constructor Performa Deep Copy Object Implemente Q42712342 . . .

memory pointed to by temp using “INV = tempº 9. (You implemented this in the previous program.) process has two input parameters: INV and count. The function will calculate the order tax rate (tax rate, net cost of an order (net cost), the tax on an order onder tax) and the total cost of an order (total cost) using the quantity, cost of an item (price and processing plant identification number processing plant) for a purchase order record onder record). Remember, we are using an array of records. Please consider the following a) The tax rate on an order (taxmae) is simply based on the processing plant identification number (processing plant which is where the order was processed (O processing plant 50 then tax rate 6%; SIC processing plant -110 then tax rate 79: IUC processing plant -200 then tak_rate=8%201-processing plant-500 then tax_rate=9% processing plant >500 then tax rate -11%). b) The tax on an order (order_tax) is calculated by the following formulac onder tax (quantity) x (price) (tax rate) / 100 Hint: INV).order_tax – (INV quantity* INV price The net cost of an order (net_cost), which does not include tax, is calculated by the following net_cost – (quantity) x price c) The total cost of an order (rounded to the nearest houndredth) is calculated by the following formular Total cost = net cost order tax All tax and cost calcuations should be rounded to the nearest hundredths. 10,overload operator as a friend function of order class with chaining. This function will have the same functionality as the “print function it will print INV to the screen. Recall the Following about the function print: “print is avoid public member function that has no formal parameters because count and INV are members of the state of the class. The function will print every field of every order record in INV to the screen”. 11. the destructor to deallocate all memory allocated to INV, This function has no formal parameters because INV is a member of the state of the class, it will be called automatically by the compiler Use the driver amazon_porders 11.cpp” to help you implement this program. Output Format for the overloaded operator

Answer to Tunctions you wilmplementare as follows 2 3 The copy constructor will performa deep copy of an object (You implemented t…

We are the best freelance writing portal. Looking for online writing, editing or proofreading jobs? We have plenty of writing assignments to handle.