Answer to Question #291960 in C++ for hajar

Question #291960

-         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.


0
Service report
It's been a while since this question is posted here. Still, the answer hasn't been got. Consider converting this question to a fully qualified assignment, and we will try to assist. 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

LATEST TUTORIALS
New on Blog