Answered step by step
Verified Expert Solution
Link Copied!

Question

00
1 Approved Answer

Creating a C program. Youre the owner of a hardware store and need to keep an inventory that can tell you what tools you have,

Creating 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

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions