Question: Write a program that uses a linked list to manipulate a sequence of numbers. The program must be written in accordance to the following plan:
Write a program that uses a linked list to manipulate a sequence of numbers. The program must be written in accordance to the following plan:
Description
You should include a program description at the top of the main program according to the template. You may simply use this sentence, "The program uses a linked list to manipulate a sequence of numbers. "
Create a C++ project for this assignment and add the example source files NumberList.h and NumberList.cpp to the project. In Xcode, this can be accomplished by drag-n-drop the files in Finder to the project in Xcode.
In the main function, define an instance variable of NumberList and insert the following numbers in that order into the instance:
75.2
108.3
38.45
45.83
173.45
163.52
106.94
Display the list after inserting those numbers.
Delete two numbers from the list:
45.83
173.45
Then display the list again.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
