Question: Write a program that will compute the state and county sales tax. Assume the purchase amount is $300, the state sales tax is 4 percent

Write a program that will compute the state and county sales tax. Assume the purchase amount is $300, the state sales tax is 4 percent and the county sales tax is 2 percent. The program should display the purchase amount, the state sales tax amount, the county sales tax amount, the total sales tax amount (state and county sales tax), and the total amount of the sale (which is the sum of the purchase amount plus the state and county sales taxes).

Use build system IntelliJ and Java language.

Use variables to store purchase amount, state sales tax and county sales tax percentages and use the variables in calculation and output statements.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!