Uml class diagram for client and invoice classes

Assignment Help Software Engineering
Reference no: EM1347162

Q1) You are a consultant for an IT consulting firm. You need a program that will calculate the invoice for a client and then print out an invoice to the screen. The consulting rate is $200 per hour.
Your Java program should have the following options:

1. Add Client
2. Create Invoice
3. Quit

If the first option is selected the consultant will enter the clients name, id #, address and number of hours worked.
If the second option is selected the consultant will be asked for a client's ID #. If the client exists then an invoice will be displayed to the screen that shows the client's Id#, address, name, the number of hours worked, the consulting rate, and the total amount of the bill. Also, include a tax rate of 8%. If the client does not exist then display a message to the screen telling the consultant that the client must be added before an invoice can be created for the client.

The consultant should be able to add multiple clients and create multiple invoices before quitting the program.
You will need a client class and an invoice class. Identify the attributes needed for the client class and the invoice class. You will need accessor, mutator methods, and constructors. Your invoice class will need to calculate the total price for the hours worked, the amount of tax owed, and return the total for your invoice.

Design UML class diagram for client and invoice classes, design the code in Java for your client and invoice classes, and draw the program that consultant will use to add a client and create an invoice.

Reference no: EM1347162

Questions Cloud

Find the tension in the lower cord : The 4 block in the figure is attached to a vertical rod by means of two strings. When the system rotates about the axis of the rod, the strings are extended and the tension in the upper string is 77.
Explain about expectancy and equity theory : Suppose organizational strategies and practices that could be enhanced by the application of Expectancy and Equity Theory
Activity-based costing and management : Mattresses-A-Million produces Pillow-Top mattresses. They have been using a volume-based costing system to allocate overhead based on direct labor-hours. The Pillow-Top requires two hours of direct labor.
Calculate the reward to variability ratio : Asset A has an expected return of 20 percent and a standard deviation of 25 percent. The risk free rate is 10 percent. Calculate the reward-to-variability ratio?
Uml class diagram for client and invoice classes : Design UML class diagram for client and invoice classes, design the code in Java for your client and invoice classes, and draw the program that consultant will use.
What kind of interference does the person sense : The system is released from rest, and the string moves without slipping over pulley. If the larger mass is traveling at a velocity of 2.25 m/s when it has dropped 1m, how much mechanical energy was lost due to friction in the pulley's axle.
Explain what do you think mcdonald new launch : Explain what do you think McDonald's new launch will have a sustainable impact on its bottom line.
Explain what are advantages and disadvantages of debt : Explain what are the advantages and disadvantages of debt and why is the cash position of a company important, when deciding to create a dividend policy?
Measuring performance with product costing data : The following table presents the weekly average of direct materials costs per unit for two products. How could the manager of the department that makes these products use this information?

Reviews

Write a Review

Software Engineering Questions & Answers

  Systems analysis and design requirements

Systems Analysis and Design requirements

  What is the standard error

If you have five critical errors, two main faults, and five minor errors, what is the standard error

  Flowchart for physical goods are shipped back to supplier

Sketch a document flowchart to depict each situations: Physical goods are shipped back to the supplier.

  What is regression testing

What is regression testing? Explain various types of regression testing. What are the various steps by which regression testing is carried out?

  Design entity relationship diagram for catered accommodation

Design an entity relationship diagram for the case, explaining any suppositions you deem essential for atered or non-catered accommodation at the centre.

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Beats number at output of first round of des decryption

Calculate the beats number 1, 16, 33, and 48 at output of first round of DES decryption, suppose that ciphertext block is composed of all ones.

  Sketching flowchart for people all in different departments

Sketch a document flowchart to depict each of the scenarios given below: Three people, all in different departments, look at the same document before it is eventually filed in a fourth department.

  Concepts of software engineering

Explain the software measurement process and state how to implement the software measurement?  List the challenges and difficulties of applying the software metrics?

  Difference between private, public and protected variables

Difference between private, public and protected variables

  Describe purpose of the keyword super in programs

Describe purpose of the keyword super in programs

  Designing flowchart for wholesale company

Design a flowchart to depict each situation. An individual from a wholesale company needs to prepare five copies of sales.

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