Question
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 |
| 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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started