Question
In javascipt and html The IT2B Company needs to have an automated system that can compute for the net salary/pay for their employees. The net
In javascipt and html
The IT2B Company needs to have an automated system that can compute for the net salary/pay for their employees. The net salary is computed by the following formula:
NET SALARY = GROSS SALARY-TOTAL DEDUCTION-TAX
Tax is determined by the following gross salary bracket a) if gross is 45000 to 60000, tax is 25% of the gross b) if gross is 35000 to 44999, tax is 20% of the gross c) if gross is 25000 to 34999, tax is 15% of the gross d) if gross is below 25000, tax is 10% of the gross e) if gross is out of range or gross is below 1, display a message "Invalid gross salary". Create a program that will compute the net salary and display the following output: EXAMPLE: Input: Enter the gross salary: [36000] Enter the total deduction: [1500] [submit] [clear] Output: Gross Salary: P36000.00 Total Deduction: P1500.00 Net Salary: P27300.00 since(36000-7200-1500=27300)
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