Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need a java short simple code Problem 1: Description [5 Marks] You are a developer for computer house, and you asked to design a

I need a java short simple code
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Experts Guide To SQL

Authors: Frank Lusardi

1st Edition

0070390029, 978-0070390027

Students also viewed these Databases questions

Question

Why do organizations often have several databases?

Answered: 1 week ago

Question

1. Are my sources credible?

Answered: 1 week ago

Question

3. Are my sources accurate?

Answered: 1 week ago

Question

1. Is it a topic you are interested in and know something about?

Answered: 1 week ago