Question
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
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% and the county sales tax is 2%. Create a GUI application that allows the user to enter the total sales for the month into a text field. From this figure, 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)
In the applications code, represent the county tax rate (0.02) and the state tax rate (0.04) as named constants.
Have GUI and be able to compile correctly.
Step by Step Solution
3.40 Rating (156 Votes )
There are 3 Steps involved in it
Step: 1
import javaawtBorderLayout import javaawteventActionEvent import javaawteventActionListener import j...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Document Format ( 2 attachments)
6093ac6aac1f4_24047.pdf
180 KBs PDF File
6093ac6aac1f4_24047.docx
120 KBs Word File
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started