Question
Write a program that is composed of one source file named Lab5b.cpp and two other textbook source files . The program uses a linked list
Write a program that is composed of one source file named Lab5b.cpp and two other textbook source files. The program 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.
Test The Program
The output should look exactly as follows:
Displaying list after inserting numbers 38.45 45.83 75.2 106.94 108.3 163.52 173.45 Displaying list after deleting numbers 38.45 75.2 106.94 108.3 163.52
Submit Lab5b.cpp, NumberList.h, NumberList.cpp
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started