Design a program that will ask the user to enter the amount


Sales Tax
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 the state sales tax is 4% and the county sales tax is 2%. 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 of the sale (which is the sum of the amount of the purchase plus the total sales tax.) Hint: Use the value .02 to represent 2% and .04 to represent 4%.

Ex. 2, page 113
Sales Tax Program Refactoring
Programming Exercise 6 in Chapter 2 was the Sales Tax Program. For the exercise you were asked to design a program that calculates and display the county and state sales tax on a purchase. If you have already designed that program, create a modular design for it. 

Request for Solution File

Ask an Expert for Answer!!
Programming Languages: Design a program that will ask the user to enter the amount
Reference No:- TGS094994

Expected delivery within 24 Hours