Post a New Question

Computer Programming Design

posted by .

Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county tax. Assume the state sales tax is 4 percent (.04) and the county tax is 2 percent (.02). The program should display the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of the purchase plus the total sales tax).

  • Computer Programming Design -

    Multiple post; please see the later post.

    Sra

  • Computer Programming Design -

    Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume that state tax rate is 4 percent and the county sales tax rate is 2 percent. The program should display the amount of the purchase, the state sales tax, the county sales tax, and the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax).Refactor it so the subtasks are modules, then create a modular design.

    Hint: Use the value 0.02 to represent 2 percent, and 0.04 to represent 4 percent.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. CIS Design and Programming

    Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and then calculate the amount of a 15 percent tip and a 7 percent sales tax. Display …
  2. Computer Programming Design

    I really need someone to help me with this.I post this last week and I did not respond to it hopefully someone will respond Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask …
  3. Programming

    Design a program that calculates the total amount of a meal purchased at a restaurant. The program should ask the user to enter the charge for the food, and the calculate the amount of a 15 percent tip and 7 percent sales tax. Display …
  4. Compter programing Design

    Design a program that will ask the user to enter the amount of a purchase. The program should the compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should …
  5. Java Programming

    I'm a beginner to Java and I need to know how to do the following: Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax …
  6. Computer class

    how do I design a program using a flowchart, the program needs to compute state and county sales tax?
  7. Computer Science

    Design a program that will ask the user to enter the amount of a purchase. The program should the compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should …
  8. Intro to programming

    Tip, Tax and Total question? Design a program that calculates the total amount of a meal purchased at a restaurant in raptor, the program has to ask user the charge of food, calculate the amount of a 15 percent tip, and 7 percent sales
  9. computer science

    Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should …
  10. programming

    Write a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should …

More Similar Questions

Post a New Question