in java A retail company must file a monthly sales tax report listing the total sales for the month and the amount of state and
county sales tax collected. The state sales tax rate is 4 percent and the county sales tax rate is 2 percent. Write a program that asks the user to enter the total sales for the month. The application should calculate and display the following: • The amount of county sales tax • The amount of state sales tax • The total sales tax (county plus state)
Firstly, create a Scanner object and prompt user to input total sales of month (Line 5-7). Next, apply the appropriate tax rate to calculate the state tax, county tax (Line 9 - 10). Total up the state tax and county tax to get the total sales tax (Line 11).
At last, print the county tax, state tax and the total sales tax (Line 13 - 15).
Well Here Are Some Advantages To Clip Art, There Is A Large Variety Of Clip Art To Choose From. You Don't Need To Buy Any Special Equipment Like A Scanner. It Takes No Artistic Skills To Produce. Most Clip Art Is Royalty And Copyright Free. It Doesn't Have To Be Developed From Scratch. Hope I Helped