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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!