Question: Hi Im stuck on this problem. I created three functions for this problem. One is working fine,other two Im having trouble. This is a c++
Part 2: Binary Files Write a program that uses a structure to store the following inventory data in a file: The data can be either read from a text file or the keyboard .Item name (string) . Quantity on hand(int) Wholesale cost(double) Retail Cost(double) The program should have a menu that allows the user to perform the following tasks: Add new records to the file Display any record in the file 1. 2. 3. Change any record in the file (Note: if this option chosen, then the whole record must be 4. a. User will provide the name of the item or the first n letters of the name of the item reentered even if the user wants to change only one or more fields) Display all records Prepare a report containing: 5
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
