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
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
Get step-by-step solutions from verified subject matter experts
