Question: Using Program Control answer the problem below. ABC Company decided to increase the salary of their employees based on the number of years in service.
Using Program Control answer the problem below.
ABC Company decided to increase the salary of their employees based on the number of years in service. Write a JavaScript using DOM that will ask the user to input the current salary of an employee and the number of years in service. Compute and output the new salary based on the increase given by the company.
Number of Years in Service Percent of increase from employees current salary
More than 10 years 30 percent
5 years to 10 years 20 percent
Less than 5 years 10 percent
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
