Write a JavaScript function to determine the building assignment for employees. Input the department and pay type. Salaried IT employees go to Iona. Hourly IT employees to to Ithaca. Salaried manufacturing employees to to Miner while hourly manufacturing employees go to McCook. Salaried accounting employees go to Armstrong while hourly manufacturing employees go to Aldrin. Display their building assignment
Write a JavaScript function to calculate annual bonuses. Employees with up to five years of experience are paid $100/year. Employees with six to ten years of service are paid $150/year. Employees with eleven to twenty years of services are paid $200/year. Those with more experience than that are paid $225/year. Output the rate and the total.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here