With the code provided, Do not use other code such as STL containers. Modify this program to store product objects as used in previous practicals and the assignment instead of integers. Include a function to input product data from the keyboard in the product class (similar to the readRecord() function). Also add a non class function to display the list contents.

Include a separate search function (search on the name of the product) which returns the position in the list of the item if found (-1 if not found). 1 mark Setup a menu to access the different functions such as:

  • Build a list
  • Search list
  • Add to list
  • Delete from list
  • Display list
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.