Question: Write in JAVA Task: Write a program that will input total sales (sales plus tax) that a business generates for a particular month. Write two

Write in JAVA Write in JAVA Task: Write a program that will input total sales

Task: Write a program that will input total sales (sales plus tax) that a business generates for a particular month. Write two versions of the program, one in Java and one in C++. Your programs must match your algorithm!!! Input: The program will also input the state and local sales tax percentage. Output: It will output the total sales, the state tax, the local tax and the final sales amount to be paid. The output should be in fixed notation with 2 decimal places. The Pennsylvania state income tax rate is currently 3.07%(.0307). The local tax for Harrisburg, PA is 6.0\% (.06). Sample output: The Total sales for the month is: $8000.00 The State tax for the month is: $225.18 The Local tax for the month is: $440.08 The Final Sales amount is: $7334.74

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!