Reference no: EM13690954
Question: Write a program to keep track of a hardware store's inventory. The store sells various items. For each item in the store, the following information is kept: item ID, item name, number of pieces in stock, manufacturer's price of the item, and the store's selling price.
Your program should include the following:
Question 1: Write the definition of the class Inventory such that object of this class can store an item's id, name, number of pieces in stock, manufacturer's price, and selling price. The class should include constructors, setters, getters, and toString method.
Question 2: Write a client program (must be menu-driven) that can help store to keep track of the inventory.
Use an array of objects of the class Inventory to store each item's data.
Read the data file "hardware.txt" to populate the array of objects (the data file is on D2L).
Use a menu to do the following.
Part 1: Display a report that shows the store inventory (id, name, number of pieces in stock, manufacturer's price, and selling price of all the items).
Part 2: Display the total inventory (the total selling value of all the items).
Part 3: Find the item with the highest in stock value and display its information.
Part 4: Find the items that have less than 10 pieces in stock and display these items
Please keep it short and simple and no copy and paste or at least help me get started.
Expected economic profit problem
: Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 ..
|
Price elasticity of demand for this curve at any arbitrary
: Price elasticity of demand for this curve at any arbitrary point (say point E). To do so, first write the algebraic form of this Use your results from part a together with the fact that distance X in the figure is given by the current price, P*, to s..
|
Labor hoarding-an increase in output may signal
: Can anyone choose and explain that because of labor hoarding, an increase in output may signal:
|
Write the definition of the class inventory
: Write the definition of the class Inventory such that object of this class can store an item's id, name, number of pieces in stock, manufacturer's price, and selling price. The class should include constructors, setters, getters, and toString meth..
|
Write program to keep track of a hardware stores inventory
: Write a program to keep track of a hardware store's inventory. The store sells various items. For each item in the store, the following information is kept: item ID, item name, number of pieces in stock, manufacturer's price of the item, and the s..
|
Draw flowchart and execute the algorithm
: Execute the algorithm below using 6 for "number" and Execute the algorithm below using 25 for "number" and draw a flowchart for the algorithm below and have it checked by the TA.
|
Draw a flowchart for the algorithm
: Compute the final answer by rounding the last value to 4 decimal places type the computed value at the bottom of the list and Draw a flowchart for the algorithm below and have it checked by the TA
|
The function should compute and return
: Define a function that takes as input parameters a function handle f, start and end values a and b, and a number of steps n. The function should compute and return the x and y values of the maximum of the function over the range a to b.
|