11 Lab - Student BST
11 Lab - Student BST
private:
int id; /**student identifier (unique).*/
string name; /**student name.*/
float fee; /**student fee.*/
Student* left; /**left subtree of a node.*/
Student* right; /**right subtree of a node.*/
};
class StudentBST
{
private:
Student* root; /**root of the tree.*/
public:
StudentBST(); /**constructor.*/
~StudentBST(); /**destructor.*/
};
You are required to implement the following member functions of the StudentBST class:
Implement the main function and test the functionality of your created classes by taking data from the input file.
☺ ☺ ☺ BEST OF LUCK ☺ ☺ ☺