Question: C++ Language - Pointers and Dynamic Arrays Develop a software using dynamic arrays (using the new and delete operators) that allows a user to enter
C++ Language - Pointers and Dynamic Arrays
Develop a software using dynamic arrays (using the new and delete operators) that allows a user to enter the names of the athletic equipment below in an inventory management class: 
-
If Mark purchases two pairs of Nike basketball shoes, three Under Armour T-shirts, four Nike shorts, and one pair of Brooks running shoes; print a receipt for the purchase including the total cost before and after tax. Assume the tax rate is 8.25%
-
Print an inventory list before and after Marks purchase.
-
Add a copy constructor to your inventory management class. Test the copy constructor by instantiating a new inventory management object which is a copy of the original. Print an inventory list for the new object. This should match the original inventory.
-
Your program must use pointer variables for all variables.
-
Use at least one user defined namespace.
-
Maintain a transaction history of all items purchased. Print an audit log of all transactions including cost & quantity for items. Ensure the copy constructor from step 3 also makes a copy of the transaction history. Correct answer will be upvoted. Thank you so much!
Quantity 22 33 Name of equipment Nike basketball shoes Under Armour T-shirt Brooks running shoes Asics running shoes Nike shorts Cost $145.99 $29.99 $111.44 $165.88 $45.77 11 20 77
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
