Question: Please complete this program fully : Thank you : This assignment will make use of structs and reading from a file For this assignment you
Please complete this program fully:
Thank you:


This assignment will make use of structs and reading from a file For this assignment you must create an array of structs that will hold inventory information for a store the 1st line signifies the number of inventory items the 2nd line states the name of the iterm the 3rd line indicates the quantity of that item currently available the 4th line indicates the price of the item the 5th line is the id of the item the 6th line is the date of the last order lines 2-6 will repeat for as many items specified in line 1 The goal of this assignment is to have you read in this information from a file and save it into an array of structures which represent the inventory items. **A max of 500 items will be read in from the file. ** Once read into your program, your program must then perform the following tasks and print them off to the screen - Find total value of your inventory (this means $) - Find total number of items in inventory - Tell me which items need to be ordered (one per line) *An item needs to be ordered if the quantity of that item is less then 10 Example of input file format: coke 15 1.59 12657435 12/12/2014 coke 15 1.59 12657435 12/12/2014 pepsi 1.49 12547543 12/10/2014 sprite 1.59 12657437 12/09/2014
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
