Write program to keep track of a hardware store''s inventory.

Assignment Help C/C++ Programming
Reference no: EM13938112

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: EM13938112

Questions Cloud

Did the introduction develop the hypotheses logically : The hypothesis that was being tested was about the anti-predation behaviour exhibited by the while-tailed deer and how the response is affected in the presence of the predator - Did the introduction develop the hypotheses logically
How does this reflect the biodiversity of life over time : Look at plants and animals. Select a plant and an animal and see how it evolved up the Tree of Life from the beginning of time to the present. How did this species change over time? How did it start out and how did it evolve.
Business and functional level strategy : Assess the core areas of corporate, business and functional level strategy relevant to the international hospitality industry.
What is effective cost of borrowing in this case : Your firm has an average collection period of 26 days. Current practice is to factor all receivables immediately at a discount of 1.6 percent. What is the effective cost of borrowing in this case?
Write program to keep track of a hardware store''s inventory. : 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.
Computing the firms weighted average cost of capital : In August of 2009 the capital of the Emerson Electric Corporation (EMR) (measured in book and market values) appeared as follows: What weights should Emerson use when computing the firm’s weighted average cost of capital?
Image of an unnamed macaque : Using the lecture, weekly readings and keywords from Weeks 7 and 9, discuss the following quotation from the textbook in relation to this YouTube video titled "Emma Watson at the HeForShe Campaign 2014 - Official UN Video". You will need to watch ..
Calculate the fixed costs per month and the variable cost : Calculate the fixed costs per month and the variable cost per occupied room using the high low method.
Convertible bond-calculate your gain or loss : You own a convertible bond that has a 6% yield, 4.5% coupon rate, pays semiannually, and has 3 years to maturity. The conversion rate is 8. The current stock price is 127.3. Calculate your gain or loss if you decide to convert.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  T computes and posters the probabilities of two people

Write a C program that computes and posters the probabilities of two people in a group who are born in the same day. The probability of two people being born in the same day of the year, for a group of  n people, is given by the following formula:

  Describe floyd''s algorithm finds the shortest paths

A shortest path between vertex a and b is a path with the minimum sum of weights of the edges on the path. Floyd's algorithm finds the shortest paths of all vertex pairs of a graph.

  Program that opens a file representing an encoded maze

Write a C++ program that opens a file representing an encoded maze and reads it in properly so it can be analyzed.

  Create an employee class

Create an employee class, including two data: an employee number (type int ) and the employee's compensation (in dollars; type float). The member data should comprise an int for storing the employee number and a float for storing the employee's co..

  Calculate the component voltages

Calculate the component voltages for the following series resonant RLC circuit

  Computes the sum and displays it

Prepare a C++ program that asks the user for an integer n and computes the sum 1^2+2^2+3^2+4^2+....+n^2 and displays it in the output screen.

  What are the contents of the array

What are the contents of the array after the subsequent loops complete - loops and also provide the iteration how to get it.

  Program to create a mortgage calculator

I created a mortgage calculator for user to input requested amount and menu. Somehow, I think that I have it half right... I think I have lost my way somehow..See Attached files.

  The possible responses are a b c or d a file has been

the possible responses are a b c or d. a file has been created that contains the following1st line the answer key

  Dynamicword that holds a pointer

Consider the following main function.  Assume that DynamicWord.h contains a class definition for a class called DynamicWord that holds a pointer to a dynamic array as a private data member, but the assignment operator (=) has not been overloaded for ..

  Write a program that uses a nested loop

Write a program that uses a nested loop togenerate the output shown below. Be sure that the value on the line changes with each digit displayed. For example, line 5 has the values "1", "2", "3", "4", and "5".

  Write code that declares an int array named month

Write code that declares an int array named month with 5 rows and 7 coloumns and initializes every element to -1.

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