Menu

[Solved]Java Write Program Ask User Enter Amount Purchase Program Compute State County Sales Tax A Q37093126

In Java, write a program that will ask the user to enter theamount of a purchase. The program should then compute the state andcounty sales tax. Assume the state sales tax is 4 percent

and the county sales tax is 2 percent. The program shoulddisplay the amount of the purchase, the state sales tax, the countysales tax, the total sales tax, and the total of the sale

(which is the sum of the amount of purchase plus the total salestax). Hint: Use the value 0.02 to represent 2 percent, and 0.04 torepresent 4 percent.

Expert Answer


Answer to In Java, write a program that will ask the user to enter the amount of a purchase. The program should then compute the s… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *