Follow the requirement and write the program.Use simple code, not to complex. Like basic college freshman level.Using CodeBlocks. put the code in to a word file. Make sure that it will work.
Unformatted Attachment Preview
Assignment 10 Linked List Manipulations
Develop a program that will maintain an ordered linked list of positive whole numbers. Your
program will provide for the following options:
Add a number
Delete a number
Search for a number
Display the whole list of numbers
At all times, the program will keep the list ordered (the smallest number first and the largest
At the start of the program, the list will be empty. The user will add new numbers by choosing
the “add” option and will supply the number to be included in the list. The program will add the
number to the list at the appropriate position in the linked list so that the list will remain ordered.
If the number being added is already in the list, the program will display a message: “Duplicate
number. Not added to the list”. This will ensure that the list does not contain any duplicate
For removing a number from the list, the user will choose the “delete” option and supply the
number to be removed. If the number is in the list, it will be eliminated from the linked list.
Otherwise, a message will be displayed: “Number is not in the list”.
For looking up a number in the list, the user will choose the “search” option and will provide the
number to be found. If the number is in the list, the program will display : “the number is in the
list”. Otherwise, it will display: the number is not in the list”.
For printing, the complete list of numbers, the user will select the “display” option. This option
will display the list of all the numbers in the list. It should be an ordered list of unique numbers.
Use the following structure for storing each number.
entry * next;
Purchase answer to see full
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more