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!
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started