Answered step by step
Verified Expert Solution
Question
1 Approved Answer
i need a java code as required below. Problem 1: Description [5 Marks] You are a developer for computer house, and you asked to design
i need a java code as required below.
Problem 1: Description [5 Marks] You are a developer for computer house, and you asked to design a salary software for a company. The company has three department and each department has a name and several employees in different department. Each employee has his name, position, date of birth and salary stored in the system in addition to his employee ID. There are two types of employee: supervisor and normal staff. The supervisor has a number of years' experience, while the normal staff does not have. You should implement a calculation salary method to calculate the salary for each employee depending on his type. The supervisor will have addition to his normal salary a 2% multiply his experience years of his normal salary. The normal staff will have addition of 5% of his normal salary. You should create the necessary class objects and methods for testing your program. Your program will start by reading the name of the employee and check his existence. If the employee of type supervisor, the program should read a number of years' experience to calculate his salary. For the normal staff, it should calculate the salary directly 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