C++ List
Not what you're looking for?
Write C++ code that does the following:
 Create a list with the elements: 43,67,11,78 and 52
 Add item 60 to the list
 Sort the list in descending order
 Delete item 52
 Use Binary Search to find item 70 in the list
Sample output shown:
Printing the 5 elements in the list...
43 67 11 78 52
The length of the list is 5
Adding item 60.....
43 67 11 78 52 60
The length of the list is 6
Sorting the list in descending order....
78 67 60 52 43 11
Deleting item 52....
78 67 60 43 11
The length of the list is 5
Item 70 not found in the list.
Purchase this Solution
Purchase this Solution
Free BrainMass Quizzes
Inserting and deleting in a linked list
This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.
C++ Operators
This quiz tests a student's knowledge about C++ operators.
Word 2010: Tables
Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.
Basic Networking Questions
This quiz consists of some basic networking questions.
Javscript Basics
Quiz on basics of javascript programming language.