Question: CREATING A C PROGRAM. NOT A C++ PROGRAM. Youre the owner of a hardware store and need to keep an inventory that can tell you

CREATING A C PROGRAM. NOT A C++ PROGRAM.

Youre the owner of a hardware store and need to keep an inventory that can tell you what tools you have, how many you have and the cost of each one. Write a program that initializes the user-provided file name and extension to 100 empty records, lets you input the data concerning each tool, enables you to list one or all of your tools, lets you delete a record for a tool that you no longer have and lets you update any information in the file. The tool identification number should be the record number. Finally, test each operation in your program.

Use the following information to start your file:

Record #, Tool Name, Quantity, Cost

3, Electric Sander, 7, 57.98

17 Hammer 76 11.99

24 Jig saw 21 11.00

39 Lawn mower 3 79.50

56 Power saw 18 99.99

68 Screwdriver 106 6.99

77 Sledgehammer 11 21.50

83 Wrench 34 7.50

I have already posted a question for this but the person who answered used c++ headers and code that I couldn't use. I need to use and FILE*. I have recently been working with pointers and structures as well.

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!