Prepare a program in java that can calculate the invoice


Program: Prepare a program in java that can calculate the invoice for a client and then print out an invoice to the screen.

The consulting rate is $200 per hour.

The program should have the given options:

Option 1: Add Client

Option 2: Create Invoice

Option 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, add 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. spot the attributes needed for the client class and the invoice class. The program must have mutator, accessor methods, and constructors. The invoice class will need to calculate the total price for the hours worked, the amount of tax owed, and return the total invoice

Can you implement a program in java that can evaluate the invoice for a client and then print out an invoice to the screen?

Request for Solution File

Ask an Expert for Answer!!
C/C++ Programming: Prepare a program in java that can calculate the invoice
Reference No:- TGS0961311

Expected delivery within 24 Hours