Question: i need help with this Intre to Programming in C-large program 4-inventory.c With this assignment you will start to learn how to write a practical

i need help with this
 i need help with this Intre to Programming in C-large program
4-inventory.c With this assignment you will start to learn how to write

Intre to Programming in C-large program 4-inventory.c With this assignment you will start to learn how to write a practical menu driven program that manages a list of data. You will use an array of structs to organize the data and you will save the information in a text file The focus (topic) of your program is up to you. The Menu commands must include: PPrint the inventory list onto the screen A... Add a new entry C....Clear all records S....Create a current report (save it to a file) D...Delete an item from the list (inventory) U....Update ONE OF THE FIELDS (not THE id) O..Quit .You will use structs and an array to organize the data in the program. Your struct must contain at least the following kinds of information: o Minimum of 2 strings (character arrays) - Suggestions include: item name, manufacturer, etc Minimum of 2 integers-1 must be product id o Product id, qty in stock o Minimum of 2 double values Suggestions include: cost, price, average inventory When you add new item th When you delete an item from inventory the program will ask you for the integer id of the entry to be deleted, locate the entry in the array and remove all o the data for that entry The list does not need to be sorted-to remove an entry, you may move the last item in the list to the location of the deleted entry e program will ask the user for each of the fields on a separate line. When you display the records on the screen, all of the information stored for each entry will be labeled and displayed Creating a current inventory report copies the current entries in the array to an output file. This must include labeling all of the information so that it is clear what information is being provided. Instructions . You shoald use at least the 10 user-defined functions described below (plus main) to appropriately break the problem up into smaller pieces. Your program must start up with at least 6 valid records. These records must be "hard coded" in your program file. (This must be done in one of your user-defined functions) . . You should use function prototypes and NO global variables (penalty) You should use a #define to set the upper bound of the list to 40 entries. Your code should be well designed, well commented and written with good style

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!