Implement a binary tree data structure that stores printers' information in a building. Each printer is distinguished by a six digit numeric seral number (e.g. 123456). The printers infromation consists of the following: 1. Model: Alpanumeric (e.g. "LJ-231") 2. Interface Descriptor: String("USB","Parallel" or "Network") 3. Number of pages printed since the last chance of toner or cartridge. The operations that will be performed on the tree will be read from a data file. The data file will contain a combination of more than one of the following commands. -a-Add a printer -d-Delete a printer -p-Print the number of pages printed on the current toner/cartridge of the specified printer -r- Reset the page counter -j- A print job was submitted to the specified printer with with the specified number of pages -i- Print the information of all the printer in an increasing serial number - m- Print the information of all printers with the number of pages above the specified number. The data file will be formated as follows a d p r j i m comments on code needed
## Deliverables
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. 3) Complete ownership and distribution copyrights to all work purchased.
## Platform
This program needs to be written in C. It will run of a unix machine