Đã hoàn thành

Menu Driven Binary search tree

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.

Kĩ năng: Lập trình C++

Xem nhiều hơn: binary search tree menu driven program in c++, binary search tree in java, binary search tree insert c++, construct binary search tree, binary search tree insertion, binary search tree implementation python, binary search tree constructor, binary search tree menu driven program in java, optimal binary search tree dynamic, morse code binary search tree java code, optimal binary search tree creator, optimal insert binary search tree, binary search tree java morse, binary search tree freator, program optimal binary search tree, optimal binary search tree source, optimal binary search tree programming code, optimal binary search tree cpp, binary search tree cpp, implement optimal binary search tree

Về Bên Thuê:
( 2 nhận xét ) Edwardsville, United States

ID dự án: #27890990

Đượ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

$45 USD trong 2 ngày
(15 Đánh Giá)
(111 Đánh Giá)

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

$80 USD trong 1 ngày
(30 Nhận xét)

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

$15 USD trong 1 ngày
(2 Nhận xét)

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..

$20 USD trong 1 ngày
(6 Nhận xét)

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.

$20 USD trong 1 ngày
(2 Nhận xét)

********************************************************/ 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

$50 USD trong 1 ngày
(2 Nhận xét)

Hi, I’m an experienced C++ developer and have hands on working on various data structures/algorithm projects. Let me know further details.

$30 USD trong 2 ngày
(1 Nhận xét)

Hello, Greetings! I can start work on your project immediately once you confirm me and I am also open for further discussion if you want. I am fully experienced working with C/C++ develop. I would like to discuss furth Thêm

$20 USD trong 1 ngày
(0 Nhận xét)

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

$20 USD trong 1 ngày
(0 Nhận xét)

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

$50 USD trong 1 ngày
(0 Nhận xét)