Design program to keep track of a hardware store''s inventory

Assignment Help Computer Engineering
Reference no: EM1331981

Write a program to keep track of a hardware store's inventory. The sore sell various items. For each item in the store the following information is kept: item ID, item name, number of pieces ordered, number of pieces currently in the store, number of pieces sold, manufacturer's price for the item, and the stores selling price. At the end of the week the store manager would like to see a printed report.

The total inventory is the total selling value of all the items currently in the store. The total number of items is the sum of the number of pieces of all the items in the store.

The program must be menu driven giving the users various choices such as checking whether an item is in the store, selling an item and printing the report. After inputing the data, sort it according to the items names. Also, after an item is sold, update the appropriate counts.

Initially, the number of pieces (of an item) in the store is the same as the number of pieces ordered, and the number of pieces of an item sold is zero. Input to the program is a file consisting of data in the following form: ItemID, ItemName, pOrdered, manufPrice, sellingPrice.

Use seven parallel vectors to store the information. The program must contain at least the following functions: one to input data into the vectors, one to display the menu, one to sell an item and one to print the report for the manager.

Since I am just learning C++ the solution may need to be "dummied down" a little bit (or a lot) so that I can understand how the code is working.

Reference no: EM1331981

Questions Cloud

What is an hrm audit : What is an HRM audit - There are several ways to measure the effectiveness of HRM. What is an HRM audit
Find the values of queuefront and queuerear : assume that queue is a queueType object and the size of the array implementing queue is 100. Also suppose that the value of queueFront is 99 and the value of queueRear is 25.
Importance of workplace diversity in organization : Examine the importance of workplace diversity in your organization, and how it positively and negatively impacts team dynamics in your workplace.
Explain e-pay systems : E-Pay systems: categorize as peer to peer, online system or Micropayment company
Design program to keep track of a hardware store''s inventory : Write down a program to keep track of a hardware store's inventory. The sore sell various items. For each item in the store the following information is kept.
U.s. border patrol along mexican border : Examine the current status of the U.S. Border Patrol along the Mexican border. What makes the duties and responsibilities of this position one of the most important and dangerous of any law enforcement position in the country?
Industry experience vital for successful board member : Is industry experience vital for a successful Board member? Explain and justify your response.
Explain stenography : What do you meant by stenography and can you illustrate stenography
Create the definition of the function : Write down the definition of the function template moveNthFront that takes as a parameter a queue and a positive integer, n. The function moves the nth element of the queue to the front.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Suppose it would take 100 hours in execution

For a certain program, 1% of the code accounts for 50% of the execution time. evaluate the following strategies with respect to programming time and execution time.

  Registers and risc processor

A RISC processor has 152 total registers, along with the 12 designated as global registers.

  Risk assessment of ict system

Risk Assessment of ICT System and Developing Computer Incident Response System on WAMP platform

  Describe python modules and packages

Describe Python modules and packages

  Design a program that calculates the total ticket sales

The manager of a football stadium wants you to write down a program that calculates the total ticket sales after each game. There are four types of tickets box, sidelline, premium and general admission.

  Write down a recursive function "sumdigits"

modify a recursive function "sumDigits" in C++, that receives an integer as argument by reference and returns the sum of digits representing this integer. Also write a main function to test this function.

  Program for dissimilar values for real numbers

Program for dissimilar values for real numbers

  Explain how a packet is encapsulated

Explain how a packet is encapsulated

  What is best-case complexity of the algorithm

What is best-case complexity of the algorithm?

  Write down a statement to create a view

Write down a satement to add a check constraint to the above defined table that guarantees that values entered in the inspection small date field are not older than today, meaning from now on. According to new requirements from your business analys..

  Describe the difference between dhtml and html

explain examples of JavaScript script usage in a commercial setting.

  Select one physical tamper-resistant device application

Choose one physical tamper-resistant device application and describe its security-related protocol in full. Are there any potential practical attacks on the protocol? would the power analysis attack be feasible in your protocol.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd