Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the same employee class developed in the Week 2 programming assignment, develop a new program that simulates the hiring and processing of new employees

Using the same employee class developed in the Week 2 programming assignment, develop a new program that simulates the hiring and processing of new employees for your company. The queue should be a First In First Out (FIFO) based queue.

Input

Data about current employees should be on the file "Employee.txt". You will need to create your own employee file and submit it with the final project.

Each employee should have the following attributes:

Employee_Number Integer

Employee_Last_Name String

Employee_First_Name String

Employee_Years_of_Service Integer

3 employees must be loaded from the Employee.txt file on program start up.

Functionality

Command

Processing

ADD NEW EMPLOYEE

Allows the user to Add add a new employee to the queue

REMOVE EMPLOYEE

Allows the user to Remove an employee from the queue

SIZE

Returns the number of Employees in the queue

QUIT

Stops processing

Output

All output should be on the console.

Data Structures

This program should implement a queue as a linked structure (5.4).

Deliverables

Neat and well commented program

please display code main, employee and node in C++

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

Object Databases The Essentials

Authors: Mary E. S. Loomis

1st Edition

020156341X, 978-0201563412

More Books

Students also viewed these Databases questions

Question

1. Ask students to put their names on the backs of their papers.

Answered: 1 week ago

Question

Which are non projected Teaching aids in advance learning system?

Answered: 1 week ago

Question

Define the goals of persuasive speaking

Answered: 1 week ago