Answer to Question #291296 in C++ for hajar

Question #291296

-         Design a C++ program with a ListArray class of unordered lists with integer items.                              main() function should declare an object of this class. It should print the content of the list after execution of each list operation.

-         Make necessary changes in your program to keep lists sorted in ascending order and then in descending order. Make sure that your search function effectively uses the fact that a list is sorted now.

-         Design three additional methods:

1.      itemsSum() that returns the sum of list items.

2.      invert_move() that inverts the sequence of list items in the same list by changing items memory locations.

3.      invert_move() that inverts the sequence of list items in the same list without changing items memory locations.

-         Present report with results of your experiments: The program code, outputs, some comments on additional functions 2 and 3.


1
Expert's answer
2022-01-27T12:53:59-0500
Dear hajar, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment