write programs for exercise 8 and 9 of page 1067 of your book. Please see the program description of the two exercises.
8. Member Insertion By Position Modify the list class you created in the previous programming challenges by adding a member function for inserting a new item at a specified position:
void insert(double x, int pos); A position of ti means that x will become the first item on the list, a position of 1 means that x will become the second item on the list, and so on. A position equal to, or greater than, the length of the list means that the x is placed at the end of the list.
9. Member Removal by Position Modify the list class you created in the previous programming challenges by adding a member function for deleting a node at a specified position:
void remove(int pos); A value of 0 for the position means that the first node on the list (the current head) is deleted. The function does nothing if the value passed for pos is greater or equal to the length of the list.

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!