Computer Science Assignment C++ : Split Evens Odds Project I need help with coding this project please help me out.

We can write your essays! Let our essay writing experts help you get that A in your next essay. Place your order today, and you will enjoy it. No plagiarism.


Order a Similar Paper Order a Different Paper

Computer Science Assignment C++ : Split Evens Odds Project

I need help with coding this project please help me out.

Computer Science Assignment C++ : Split Evens Odds Project I need help with coding this project please help me out.
Split Evens/Odds Project Split a list into evens and odds without creating or deleting nodes. To accomplish this, derive the class intLinkedList from the class orderedLinkedList as follows: class intLinkedList: public unorderedLinkedList { public: void splitEvensOddsList(intLinkedList &evensList, intLinkedList &oddsList); // Function to rearrange the nodes of the linked list so // that evensList consi sts of even integers and oddsList // consists of odd integers. // Postcondition: evensList consists of even integers. // oddsList consists of odd integers. // The original list is empty. // }; Write the definition of the function splitEvens OddsList . This function does not create any new nodes, it only rearranges the nodes of the original list so that nodes with even integers are in evensList and nodes with odd integers are in oddsList . The original list is empty when the function completes. Write a program that uses class intLinkedList to create a linked list of integers and then uses the function splitEvensOddsList to split the list into two sublists. The header files linkedList.h and unorderedLinkedList.h are supplied. Your test program sho uld produce output similar to this: Enter integers ending with -999 34 62 21 10 15 90 66 53 7 120 88 36 90 11 17 24 10 -999 list: 34 62 21 10 15 90 66 53 7 120 88 36 90 11 17 24 10 evensList: 34 62 10 90 66 120 88 36 90 24 10 oddsList: 21 15 53 7 11 17 Your test program should use iterators to print the lists rather than the class print functions. Project total: 20 points

Writerbay.net

Everyone needs a little help with academic work from time to time. Hire the best essay writing professionals working for us today!

Get a 15% discount for your first order


Order a Similar Paper Order a Different Paper