You need to wrote a program to keep inventory for a hardware store You will write a program to store the inventory on the hard drive in a random access file. Make the file big enough to store 100 records. Each record will contain:

Record # (int), Tool Name (char [20]), Quanity (int) and cost (double)

Your program should initialize the file to 100 empty records.

Then create a menu that allows you to Update a record, Delete a record, List a record, and list All tools (the ones that are not empty)

Remember you will have to use strcpy_s(destination, orig) to copy a character array

Start your inventory with the following information

Record# Name Quantity Cost
3 Electric Sander 7 57.00
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 Sledge hammer 11 21.50
83 Wrench 34 7.50
Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.