Question: Hi please give the correct code, the output should look like the picture when you run the code. Write a program that will ask the
Write a program that will ask the user to enter the amount of a purchase. The program should compute ithe stato and counfy sales tax Assume that state sales tax is 5 percent and the county sales tax is 25 percent. The program should display the amount of the purchase, the state sales tax the county sales tax, fre fotal sabes tax, and the fotal of the sale (which is the surn of the armoent of purchase plas the total sales tax). The expected outgut should look like Enter the amount of the purchase: 1000 Purchase Amount: 1000,00 State Tax: 50.00 county Tax: 25.00 Total Tax: 75.00 Sale Total: 1075.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
