Question: Create a class Employee that has the attributes first name, last name, Job title, salary, phone number, address, and Employe all of type string, salary

 Create a class Employee that has the attributes first name, last

Create a class Employee that has the attributes first name, last name, Job title, salary, phone number, address, and Employe all of type string, salary is of type double, and phone number is of type integer. ID must be defined as a separate e ID. First name, last name, and address are class called EmployeelD. It has an 8-digit number that consists of three parts. The first digit (left to right) represent the century of employmen t was before 2000 then it is 1 else it is 2 then the second two digits represent the year of employment. The last 5 digits represents a serial number. JobTitle is of type enum, each type has job title code (String) and hour wage (double) that is related to that code. The types are listed in the following table: Job Title Code Hour Wage Job Title Consultant C ProjectManager PM Engineer ENG Technician TECH Worker Driver Coordinaor CORD 30 20 15 10 10 12.5 You should create an application class Employeelnfo that asks the user to enter the number of employees he/she wishes to input/view, create a reference array of type Employee, enter employees' information of all the employee ente entered as a code. For the salary, the program the user to enter the number of projects the employee has worked on this month, and then the number of hours he worked on each of the projects. The calculates the salary using the following formula: information and then view the The job title is should ask program then The hourly age is taken from the JobTitle Enumeration type Sample Run: Enter the number of employees: 3 Employee 1 First Name: Ali Employee 1 Last Name: Mohammed Employee 1 Job Title Code: TECH Employee 1 Phone Number: 9987010 Employee 1 Address: Kuwait Block 12 Employee 1 Year of Employment: 1998 Employee 1 Number of projects: 3 Employee 1 Project 1 hours: 20 Employee id 50 Create a class Employee that has the attributes first name, last name, Job title, salary, phone number, address, and Employe all of type string, salary is of type double, and phone number is of type integer. ID must be defined as a separate e ID. First name, last name, and address are class called EmployeelD. It has an 8-digit number that consists of three parts. The first digit (left to right) represent the century of employmen t was before 2000 then it is 1 else it is 2 then the second two digits represent the year of employment. The last 5 digits represents a serial number. JobTitle is of type enum, each type has job title code (String) and hour wage (double) that is related to that code. The types are listed in the following table: Job Title Code Hour Wage Job Title Consultant C ProjectManager PM Engineer ENG Technician TECH Worker Driver Coordinaor CORD 30 20 15 10 10 12.5 You should create an application class Employeelnfo that asks the user to enter the number of employees he/she wishes to input/view, create a reference array of type Employee, enter employees' information of all the employee ente entered as a code. For the salary, the program the user to enter the number of projects the employee has worked on this month, and then the number of hours he worked on each of the projects. The calculates the salary using the following formula: information and then view the The job title is should ask program then The hourly age is taken from the JobTitle Enumeration type Sample Run: Enter the number of employees: 3 Employee 1 First Name: Ali Employee 1 Last Name: Mohammed Employee 1 Job Title Code: TECH Employee 1 Phone Number: 9987010 Employee 1 Address: Kuwait Block 12 Employee 1 Year of Employment: 1998 Employee 1 Number of projects: 3 Employee 1 Project 1 hours: 20 Employee id 50

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!