Program Specification :r program will build a list for the data maintained in ascending order based on both name and weight via a doubly linked list.
1. Read data for names and weights for 15 people from the console where there is a name on a line followed by a weight on the next line, like in names.txt.
2. Your program will build a list for the data maintained in ascending order based on both name and weight via a doubly linked list.
3. This dll will use one pointer to keep weights in sorted order, and use the other link to keep names on sorted order.
4. You need to build the list as you go maintaining this ordering, so at any time a print method was called it would print the related field in order. (This means nodes are added to the list in sorted order, elements are not added to the list followed by a sort called on the list.)
For example after 3 elements are added for (Name – Weight) :
Michael – 275, Tom – 150, Abe – 200.
Output :
Names & weights sorted(ascending) by name. : Abe – 200, Michael – 275, Tom - 150
Names & weights sorted(ascending) by weight. : Tom – 150, Abe – 200, Michael - 275
Dear sir,
I have done many projects in C++ programming for student around the world and got some positive feedback from clients. You can check my profile for more information. Let me help you. I'm ready to get started right now.
Thanks and best regards,
Tinh Nguyen
$20 USD em 1 dia
4,9 (33 avaliações)
4,5
4,5
5 freelancers estão ofertando em média $23 USD for esse trabalho
Hi, I am placing my bid on your project because I have read the requirements and I am confident enough with my C++ and algorithm skills. I am focused mostly on doing computer science work here in freelancer.com and I would like to help you get this project done if you would give me the opportunity. I am a computer science professor and practitioner and this assignment is one of the fields that I teach very well so I can assure you an accurate result. Let me know if you are interested so I can start. Thanks.