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

  Information flow complexity

Cyclomatic complexity, monitoring devices, wireless dial-out device with controller, Request for Proposals (RFPs), Weighted IFC

  Difference between private, public and protected variables

Difference between private, public and protected variables

  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.

  Create a structural model

Structural modeling is a different view of the same system that you analyzed from a functional perspective. This model shows how data is organized within the system.

  Context level dfd to level 0 dfd to illustrate sub-systems

Explode Context level DFD to Level 0 DFD to illustrate sub-systems (processes). Level 0 DFD illustrates internal data stores and how data flows through processes.

  Describe purpose of the keyword super in programs

Describe purpose of the keyword super in programs

  Systems analysis and design requirements

Systems Analysis and Design requirements

  Research report on software design

Write a Research Report on software design and answer diffrent type of questions related to design. Report contain diffrent basic questions related to software design.

  Investigate and analyse the effect of applying cmmi practice

ITECH3501- 6501 Principles of Software Engineering:  Investigate and analyse the effect of applying CMMI practices/processes in an Agile environment in terms of business performance improvement and the limitations/restrictions of using both, and writ..

  Different approaches for system development

In Systems Analysis and Design. There are at least 2 approaches to system development, variety of life cycles, and long list of techniques.

  Systems analysis and design methodologies

difference between "Requirements Determination" and "Requirements Structuring", deliverables on or after coding, testing and installation, distinction flanked by system documentation and user documentation, pertinent classes, attributes, operations

  Software management

SOFT337 – Software Management, Demonstrate the  ability to investigate, gather appropriate sources, analyse, evaluate key challenges and discuss future trends within the chosen area of your choice .

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