Write program to keep track of a hardware stores inventory

Assignment Help JAVA Programming
Reference no: EM13690953

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

(Inventory.java) Write the definition of the class Inventory such that an 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.

(HardwareStore.java) Write a client program (must be menu-driven) that can help store employees 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.

A: 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).

B: Display the total inventory (the total selling value of all the items).

C: Find the item with the highest in stock value and display its information.

D: Find the items that have less than 10 pieces in stock and display these items information.

0: To end the program.

You have to satisfy the requirements specified in the instruction.

Reference no: EM13690953

Questions Cloud

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.
Greatest challenge for system forensics investigators : Describe what you perceive to be the greatest challenge for system forensics investigators. Provide specific details of this challenge and whether or not the challenge differs from a private company investigation compared to a law enforcement inve..

Reviews

Write a Review

JAVA Programming Questions & Answers

  1design an abstract data type in java that represents a

1.design an abstract data type in java that represents a musical pitch noteadt.java. the adt should store the note or

  Create and implement class called date to store month

Create and Implement the class called Date which has data members to store month (as a number), day, year, and name of month.

  Discuss the legal ramifications of the division of condo

Discuss the legal ramifications of the division of condo, BioTech and other assets. Would it make any difference if Violet sold the property after filing for the dissolution of marriage?

  Projectyou will design and deliver a website foes fictional

projectyou will design and deliver a website foes fictional client. the project is split into two partspart a website

  Write a recursive method that takes two non-negative integer

Write a recursive method that takes two non-negative integers m and n as parameters and returns the product.

  You have in your program an arraylist which contains

you have in your program an arraylist that contains employee salaries double type in arbitrary order. you need to

  Write java program to display results in java applet

Write down the java program which displays following results in java applet. Permits the user to enter three numbers (use JOptionPane for this) and prints out average of those value on screen.

  What was in mind of the coder in each part of the code

Need a video that goes through all this java code - as if it was a tutorial showing it line by line - and explain in detail the structure of it all as if you code it yourself.

  Modify the book class to accommodate multiple authors

modify the Book class to accommodate multiple authors using one of the components from the Java Collection Framework.

  Define a class called counter

Define a class called Counter. An object of this class is used to count things, so it records a count that is a non negative whole number. Include methods to set the counter to 0, to increase the count by

  Your task in this assignment is to develop a graphical user

your task in this assignment is to develop a graphical user interface based java program that can communicate with a

  Create a class for services offered by a hair-styling salon

Create a class for services offered by a hair-styling salon. Data fields include a String to hold the service description and write an application named Salon Report that contains an array to hold six Service objects and fill it with the data

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