This would be a function called into program struggling


Question: This would be a function called into program. Struggling with the search aspect. Any clarification is greatly appreciated. File is 'inventory.dat'

Each record is separated with a blank line and contains the subsequent information on separate lines:

- Item ID (string)

- Item Description (string - could be more than one word)

- Quantity on Hand (integer)

- Wholesale Cost (floating point, no $)

- Retail Cost (floating point, no $)

Search a record: User will enter a keyword or an ID. Search through the file to find the item and display the complete record to the user.

You need to implement the program and find the item and show the complete record to the user.

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: This would be a function called into program struggling
Reference No:- TGS0952133

Expected delivery within 24 Hours