Question
Tax Return processing program Requirements: HTML The company that needed the flowchart and pseudocode for calculating the Tax Owed amount for tax returns is now
Tax Return processing program Requirements: HTML
The company that needed the flowchart and pseudocode for calculating the Tax Owed amount for tax returns is now giving you the responsibility of creating a program for that purpose. The requirements for performing the calculation remain the same as those indicated for the flowchart:
For citizens younger than 21, the tax applied is one of the following:
8% for income up to $20,000.
12% for income greater than $20,000 up to $50,000.
20% for income greater than $50,000.
For citizens 21 years old or older, the tax applied is one of the following:
10% for income up to $20,000.
15% for income greater than $20,000 up to $35,000.
25% for income greater than $35,000 up to $70,000.
30% for income greater than $70,000.
The formula to calculate the Tax Owed amount is:
tax rate percentage x income
You will use radio buttons to acquire the age range of the user.
You will use a text box to get the users income data.
You will use a Process button to process the Tax Owed amount.
The button mentioned above should also: Produce an error message (via analertwindow) if the user
forgets to select a radio button.
Produce an error message (via analert window) if the userforgets to enter income data or enters data that cannot be processed such as text data.
You will use text box to display the tax owed amount.
You will use a Clear button to reset the main variables as well as the radio buttons and text boxes in order to be able to process the next users information.
PLEASE BE HTML FILE COMPATABLE
IMPLEMENT JAVESCRIPT CODE
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started