Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Your assignment is to implement a Binary Search Tree using the employee class you developed in Week 2. The employee class should contain the employee

Your assignment is to implement a Binary Search Tree using the employee class you developed in Week 2. The employee class should contain the employee information listed in the input section below. The program should contain all functions listed in the functionality section below.

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

Allows the user to Add an employee to the tree

REMOVE

Allows the user to Remove an employee from the tree

COUNT

Returns the number of Employees in the tree

PRINT

Prints the employee information in the list to the console

QUIT

Stops processing

Output

All output should be on the console.

Data Structures

This program should utilize a binary search tree.

Deliverables

Neat and well commented program

Complete zipped Visual Studio Project

In C++ please

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

Seven Databases In Seven Weeks A Guide To Modern Databases And The NoSQL Movement

Authors: Luc Perkins, Eric Redmond, Jim Wilson

2nd Edition

1680502530, 978-1680502534

More Books

Students also viewed these Databases questions

Question

Explain how labour relations practices differ around the world.

Answered: 1 week ago