$35.00 Stores
- From Computer-Science: General-CS , Computer-Science: General-CS
- Closed, but you can still post tutorials
- Due on May. 25, 2012
- Asked on May 19, 2012 at 1:42:22PM
Write in C++ with Microsoft Visual Studio
Write a program to keep track of a hardware store inventory. The store sells
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 store’s selling price. At the end of each week, the store manager would
like to see a report in the following form:
Friendly Hardware Store
itemID itemName pOrdered pInStore pSold manufPrice sellingPrice
4444 Circular Saw 150 150 40 45.00 125.00
3333 Cooking Range 50 50 20 450.00 850.00
.
.
.
Total Inventory: $#########.##
Total number of items in the store: ___________
The total inventory is the total selling value of all of the items currently in the store. The
total number of items is the sum of the number of pieces of all of the items in the store.
Your program must be menu driven, giving the user various choices, such as checking
whether an item is in the store, selling an item, and printing the report. After inputting
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
- This tutorial was purchased 1 time and rated A+ by students like you.
- Posted on May 19, 2012 at 5:37:56PM

Attachments:
[
Product/Product/inventory.txt
Product/Product/product.cpp
Product/Product/Product.vcxproj
Product/Product/Product.vcxproj.filters
Product/Product/Product.vcxproj.user
Product/Product.sln
Product/Product.suo
]