akosiraff

Download Contributor sortedLinkedList

Nov 5th, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.70 KB | None | 0 0
  1.  
  2. Download: http://solutionzip.com/downloads/contributor-sortedlinkedlist/
  3. Based on the new requirement from your boss to be able to search for a contributor’s name, you decide it will be a good idea to have the data sorted. You will read the contributor information from a file provided; it is a common delimited (CSV) file. As each record is read, create a sorted Linked list of the contributors using the Insertion sort method. At this point, you no longer need to maintain the stack. Your design should include the following:
  4. Each contributor will have the following information:
  5. Name: String; //the name of the contributor
  6. City: String; //the city in which the contributor lives
  7. Country: String; //the country in which the contributor lives
  8. Phone: String; //the phone number for the contributor
  9. Contribution: Double; //the amount of the contribution given by the contributor to the zoo
  10. ID: Integer; //identifier key for future needs
  11. Contributor Functions/Methods:
  12. Input constructor: //to accept a string for the name and additional information for each contributor (this should call the Add constructor to implement the sorted list)
  13. Print constructor: //to print out the contributor data
  14. Print All constructor: //to print the entire list of contributor names
  15. Add constructor: //to traverse the linked list and find the proper location for adding the instance
  16. Deliverables:
  17. A Fully Documented Program to load the data creating a sorted linked list.
  18. A Test Plan to show how the program runs and can be executed.
  19. A screen shot showing that the program loaded the data. After all data is loaded perform a Print All showing the sorted list.
  20. Download: http://solutionzip.com/downloads/contributor-sortedlinkedlist/
Add Comment
Please, Sign In to add comment