Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

First create a class called EmployeeInfo that holds two private data members. On

ID: 3559270 • Letter: F

Question

First create a class called EmployeeInfo that holds two private data members. One data member is an integer called empID which holds the id number of the employee. The second data member is a string called empName which holds the full name of the employee. The program will create an instance of the binary tree class with a data type of EmployeeInfo (BinaryTree<EmployeeInfo>). The binary tree will be sorted by the Employee ID number found in the EmployeeInfo class. The program should then allow the user to search for Employee by the Employee ID. If the employee is found in the tree, its name and ID should be displayed. If not, a message should be displayed indicating that it was not found. Sample data would be

o 1021 John Williams

o 1057 Bill Witherspoon

o 2487 Jennifer Twain

o 3769 Sophia Lancaster

o 1017 Debbie Reece

o 1275 George McMullen

o 1899 Ashley Smith

o 4218 Josh Plemmons

Explanation / Answer

My EMPLOYEE CLASS