Calculate the invoice for a client and then print out an inv

Assignment Help C/C++ Programming
Reference no: EM13708046

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?

Reference no: EM13708046

Questions Cloud

Write a program in c of fibonacci series : Write a program in c of Fibonacci series with and without using fibo func, both
Write a program to track hourly employee departure : A company hires you to write a program to track hourly employee arrival and departure times from work. In essence, you are tasked to make an online time clock.
Create a code with two functions : You have to create a code with two functions. The first function takes a string as an argument and returns a Boolean that indicates whether or not the number of parentheses is balanced (utilizing a stack).
Design a pseudo code to create the program : Design a pseudo code to create, debug and execute the program. The documentation should include your name, course, program name, due date, programming language used
Calculate the invoice for a client and then print out an inv : Prepare a program in java that can calculate the invoice for a client and then print out an invoice to the screen.
Mips assembly instruction to set the pc : Is it possible to use the jump (j) MIPS assembly instruction to set the PC to the address as 0x4000 0000 and Is it possible to use the branch-on-equal (beq) MIPS assembly instruction to set the PC to this same address?
Implement two stacks using only one array : Write routines to implement two stacks using only one array. Your stack routines should not declare an overflow unless every slot in the array is used.
Find the resulting tuples of the given query : What time does it take to find the resulting tuples of the given query: "List the names of all students who are taking a class in the Turing Auditorium".
Refined version of the multiplication hardware : Do the given multiplication of two 4-bit numbers (the leftmost bit is sign bit) by using the refined version of the multiplication hardware, and use decimal arithmetic to verify your results.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Design a simple atm service kiosk

Design a simple ATM service kiosk. This kiosk supports the following options for its menu: 1. Viewing your account balance2. Depositing cash3. Withdrawing cash

  Write a c++ function that removes and counts all occurrences

Write a C++ function that removes and counts all occurrences of a given string from such a bag. Your function should return this number.

  Design a program that asks for the number of fat grams

Starting out with Programming logic and design 3rd Author Tony Gaddis - Pg 279, PE 3 Fat Grams Calculator

  Prepare the program to calculate the future investment value

Write a C++ program that reads in investment amount, annual interest rate, and number of years in this order, and displays the future investment value using the subsequent formula:

  Write a program that allows users to enter a dollar amount

Write a program that allows users to enter a dollar amount for their bank account balance at the beginning of the month. Then ask the user to enter a dollar amount for any number of checks written in a month, up to 50. Include an approriate sentinel ..

  Write a program that allows the user to enter a measurement

Write a program that allows the user to enter a measurement in either feet or inches. If they enter feet convert it to inches. If they enter inches convert it to feet. Output the answer in both feet and inches using appropriate identification on t..

  Collection of course components and weighting schemes

Define the data type that represents the collection of course components and weighting schemes and break down the required functionality into modular, reusable functions

  Describe the process replace a do...while loop with an equiv

Describe the process you would use to replace a do...while loop with an equivalent while loop. What problem occurs when you try to replace a while loop with an equivalent do...while loop? Suppose you have been told that you must remove a while loop a..

  Write a program that converts between app and ppm values

Write a simple program that converts between APP and PPM values

  C programme to find the minimum and maximum value

write a c programme to find the minimum and maximum value each elements in each row ,to create table b,having 5 rows and 2 coloums,the first coloum of table b is the maximumvalue and thye second coloum is the maximum value in each row.

  Write a program using vectors and iterators

Create a program that uses at least two functions that will be called from your main. This program is a number game program that asks for parts of your phone and after manipulating it mathematically, eventually outputs your entire phone number. The d..

  Define a string of four characters and converts

Write an assembly program that defines a string of four characters and converts it into an unsigned 16-bit integer.

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