Question: c++ one program please 7. Files Ask a user for an input file name, an output file name, and a name of the product to
c++ one program please
7. Files Ask a user for an input file name, an output file name, and a name of the product to remove. The input file stores a list of products in the following format: Namel pricel Name2 price2 Name3 price3 Note that the names can not contain spaces and the prices are numbers. Example: ADC 1.23 Amplifier 0.99 Transistor 0.09 Also note that you do not know in advance how many entries the file contains. The program removes the given product and writes the new list to the output file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
