Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Page 1 of 3 Program 2 Employee Management System 1 . 0 Objective: To successfully be able to apply the programming concepts you have learned

Page 1 of 3
Program 2
Employee Management System 1.0
Objective:
To successfully be able to apply the programming concepts you have learned to create a class and its methods.
Program Description:
You will need to develop a system that can track employee information for two Organizations (Acme, Inc. and ABC Co.).
General view of what your system should be able to do:
Add employees to the system, the employee must be working for one of the companies in the system (Acme, Inc. and ABC Co.).
Update employees information.
Print employees information.
Print the number of all employees of a specific company.
Print the number of all employees in the system (in both companies).
System Structure:
Employee Class:
The Employee information you must track is as follows:
ID (This is randomly generated.)
Name
Gender
Job Title
Organization (They work for.)
Hire Date
As for the Organization that the Employee works for, you must also track this information:
Organization Name
Number of Employees of each Organization
Note: If an employee is added to a specific company, only the number of employees in that company is incremented by one, not the other.
Caller Class:
The caller class must create instances of the Employee class and be able to comply to the general view of the system above (adding employees, and displaying employee information, etc.). Page 2 of 3
Sample Test Run:
~~~~ Welcome to the Employee Management System 1.0 ~~~~
Please enter employee #1's Name: Ricky Bobby
Please enter employee #1's Gender: Male
Please enter employee #1's Job Title: Software Engineer
Please enter employee #1's Organization (1= Acme, Inc., 2= ABC Co.): 1
Please enter employee #1's Hire Date (Format MM/DD/YYYY): 01/01/2019
Thank you ... :)
-------------------------------------------------------------------------
Please enter employee #2's Name: Katniss Everdeen
Please enter employee #2's Gender: Female
Please enter employee #2's Job Title: Android Developer
Please enter employee #2's Organization (1= Acme, Inc., 2= ABC Co.): 4
The organization you entered is not in the system, please choose either 1 or 2: 1
Please enter employee #2's Hire Date (Format MM/DD/YYYY): 06/05/2020
Thank you ... :)
-------------------------------------------------------------------------
Please enter employee #3's Name: Jack Sparrow
Please enter employee #3's Gender: Male
Please enter employee #3's Job Title: Pirate
Please enter employee #3's Organization (1= Acme, Inc., 2= ABC Co.): 2
Please enter employee #3's Hire Date (Format MM/DD/YYYY): 10/15/2000
Thank you ... :)
-------------------------------------------------------------------------
*** Employee Statistics Report ***
Total Number of Employees: 3
Acme, Inc: 2 ABC Co.: 1
.:.:. Employee Listing .:.:.
Employee ID: 3171830820
Name: Ricky Bobby
Gender: Male
Job Title: Software Engineer
Organization: Acme, Inc.
Hire Date: 01/01/2019
-------------------------------
Employee ID: 1940766990
Name: Katniss Everdeen
Gender: Female
Job Title: Android Developer
Organization: Acme, Inc.
Hire Date: 06/05/2020
-------------------------------
Employee ID: 1056230567
Name: Jack Sparrow
Gender: Male
Job Title: Private
Organization: ABC Co.
Hire Date: 10/15/2000
------------------------------- Page 3 of 3
Your programs and all further programs should have program description header that goes at the top of the file which gives information about the programmer and program. //******************************************************************************************//
// Name: Susie Q. Programmer
// Course: CS141
// Program Name: Hello World
//
// Description: A brief description of the program. What does the program do
//(not how it does it: for example, it uses loops)? Does the program get input?
// What kind? What information is output from the program and to where (screen or file)
//******************************************************************************************//

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_2

Step: 3

blur-text-image_3

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

Climate And Environmental Database Systems

Authors: Michael Lautenschlager ,Manfred Reinke

1st Edition

1461368332, 978-1461368335

More Books

Students also viewed these Databases questions

Question

Develop successful mentoring programs. page 400

Answered: 1 week ago