Question: Design a program that will ask the user to enter the amount of purchase. The program should then compute the state and county sales tax.

Design a program that will ask the user to enter the amount of 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).

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

Requirement:

1. You can write pseudocode in a word document and save the document

2. You can also draw the flowchart in RAPTOR or any software you want to use. Save the flowchart file

Step by Step Solution

3.55 Rating (166 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To address this problem we can break down the solution into two parts writing pseudocode for the pro... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!