Menu Driven Binary search tree
Ngân sách $10-30 USD
Menu Driven Binary search tree
This project needs to be written using binary search tree class. Write a menu-driven C++ program that helps a recycling company keeps records on providers of waste paper products in the following form:
ID– integer
Name – string
Current Year Amount Paid (CYAP) — double (or float)
Amount Due — double (or float)
Your program should first data from a file named [login to view URL] for a set of records and places these records into a binary search tree using ID as the search, as it is unique for each provider. Each data item in the file will appear on a separate line, and the names may contain white spaces. There is a blank line between records. Your program should then display a menu with the following options:
1. Add a record
2. Issue a payment
3. Accept a delivery
4. Print Summary Report
0. Exit
Implement each option as described below:
1. ADD A RECORD - Accept the ID Number and Name of a new provider and add a new record to the list. Set the Amount Paid and Amount Due to zero.
2. ISSUE A PAYMENT - Accept an ID Number and print the Amount Due for that ID Number. Then accept from the user a payment amount, which is less than or equal to the amount due. Update Current yearly amount paid and Amount Due accordingly and print the up-to-date amount due. Print an error message if a record with that ID Number is not on the list.
3. ACCEPT A DELIVERY - Accept an ID Number and a dollar amount for the amount of paper delivered. Add this dollar amount to the Amount Due and print an up-to-date Amount Due. Print an error message if a record with that ID Number is not on the list.
4. PRINT SUMMARY REPORT - Print a report with one set of headings that shows all information on the list.
0. EXIT – print the list of records to an output file named [login to view URL] and terminate the program. The output file should have the same format as the input file.
Program should return to the main menu after performing each operation.
Được trao cho:
hi I read your project Description . I will complete your project Within Deadline with 100% quality . "This is my area of specialization, i can get it done 100 % perfectly well. Please ping me in person. I can help you Thêm
11 freelancer chào giá trung bình$36 cho công việc này
Hello, I am expert C/C++ programmer having 5+ years experience. I am ready to do this program. Please contact me. Thank you Regards, Bilal
Hi Dear, I read your description carefully. I understood what you require me to do and I am filled with confidence that I can complete your project wonderfully. I have experience over 5+ years with C/C++/C# and etc. I Thêm
Hello Client I have read project description, I can do this, This is very simple task . I m an expert in C++ and , I invite you to get in touch to discuss details of the project. Best Regards Techprety..
Hi! I have read all your description. I am professional C/C++ developer. I am sure high quality, good communication. Please contact me and Let's go ahead! Thanks.
********************************************************/ Hi, I have read your description and I am so interested in your project. I am confident in your project and I can finish it clearly on time. I am well experien Thêm
Hi, I’m an experienced C++ developer and have hands on working on various data structures/algorithm projects. Let me know further details.
I am an expert c++ developer with proficiency in object oriented programming and algorithms,data structures.I have read your project description and I can easily do work for [login to view URL] me know if you want me to work for y Thêm
Hello! I have just seen your project. I am an algorithm expert.I have ever took part in acm contest. I can finish your project in a few hours. Please let me know if the above is interesting. I would like to have a more Thêm