Please kindly help. the login iv already managed to code need help with this part.
Upon execution of your program, it should first read the user-ids and passwords from a file and create a binary search tree using the user-id as a key (assume unique user-ids for convenience). Once the tree has been built, it should display the following menu:
(1) Add new user
(2) Delete user
(3) Verify user
(4) Print users
Option (1) and (2) simply add/delete new/existing users. When option (3) is selected, the user is supposed to enter a user-id and a password. Then, you should search the tree and a print message like "Valid User" or "Invalid User". When option (4) is selected, the users and their passwords should be printed out in alphabetical order. Finally, when option (5) is selected, the elements of the binary search tree should be stored to a file and execution should be terminated.