Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Hardware Inventory - prepare a database to keep track of tools, their cost and number. Your program should initialize hardware.dat to 100 empty records, let the user input a record number, tool name, cost and number of that tool. Your program should let you delete and edit records in the database. The next run of the program must start with the data from the last session.
ex Program Session:
(First Run)Enter request
1 - Input new tool or update an existing tool
2 - Delete a tool
3 - List all tools
4 - Exit
? 3
Record # Tool name Quantity Cost
Enter request
1 - Input new tool or update an existing tool
2 - Delete a tool
3 - List all tools
4 - Exit
? 1
Enter record number ( 1 to 100, 0 to return to main menu )
? 5
Enter tool name, quantity, cost
? saw 102 12
Enter record number ( 1 to 100, 0 to return to main menu )
? 7
Enter tool name, quantity, cost
? hammer 75 8
Enter record number ( 1 to 100, 0 to return to main menu )
? 0
Enter request
1 - Input new tool or update an existing tool
2 - Delete a tool
3 - List all tools
4 - Exit
? 3
Record # Tool name Quantity Cost
5 saw 102 12.00
7 hammer 75 8.00
Enter request
1 - Input new tool or update an existing tool
2 - Delete a tool
3 - List all tools
4 - Exit
? 4
Press any key to continue . . .
(Second Run)Enter request
1 - Input new tool or update an existing tool
2 - Delete a tool
3 - List all tools
4 - Exit
? 3
Record # Tool name Quantity Cost
5 saw 102 12.00
7 hammer 75 8.00
Enter request
1 - Input new tool or update an existing tool
2 - Delete a tool
3 - List all tools
4 - Exit
? 4
Press any key to continue . . .

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9104852

Have any Question?


Related Questions in Computer Engineering

In a survey of 100 people 40 were casual drinkers event d

In a survey of 100 people, 40 were casual drinkers (event D), and 60 did not drink (event D). Of the ones who drank, 6 had minor headaches. Of the non-drinkers, 9 had minor headaches. Let D represent set of surveyed peop ...

Design a combinational circuit with three inputs a b and c

Design a combinational circuit with three inputs: A, B, and C, D and the output W. The output should be 1 only when the values of A, B interpreted as an unsigned integer (AB) is equal to the values of C, D interpreted as ...

Two manufacturing firms are located on the banks of the

Two manufacturing firms are located on the banks of the Crimea River. Riditna Paper withdraws river water for use in its paper mill, and returns it, along with waste effluent, back into the river. (Effluent is a co-produ ...

Question part 1 answer below question with atleast 350

Question: Part 1: answer below question with atleast 350 words in APA format no plagrism and also I need two professional refrences 1) What is the power of scenario planning Part 2: answer below question with atleast 350 ...

Jamie dimon changed the business model for jpmorgan chase

Jamie Dimon changed the business model for JPMorgan Chase in 2008. In the process, the bank gave enormous trading authority to one individual. What are the ERM strengths and weaknesses of this strategy?

Please discuss the followingas demand increased for these

Please discuss the following: As demand increased for these mortgage backed securities, lenders reacted by relaxing their approval standards to increase production. No longer were "all" borrowers required to document the ...

Question as we have seen traditional and agile schedule

Question : As we have seen, traditional and Agile schedule developments are quite different. Agile project management was originally developed to do software development. Could a traditional process be successfully used ...

Argue why wireshark should be outlawed and it is a clear

Argue why Wireshark should be outlawed and it is a clear violation of privacy act and then argue why it should not be out outlawed and that it is a vital resource to be freely used and does not violate the privacy act

How can i get the first element from a linked listfor

How can I get the first element from a linked list? For example, if I am working on a number guessing game with linked list, and there is a list called priorGuess, which stores all the guesses that is given. PriorGuess h ...

Case study 1 user interfacesearly user interfaces were

Case Study 1: User Interfaces Early user interfaces were designed with little or no consideration for the end user. This was largely due to technical and hardware limitations. The poor interface design required a specifi ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As