Question: Finish the Implementation of the Sequence class. Test your implementation by running the following set of commands: 1.Create sequence called seq; 2.Insert numbers 5, 2,
Finish the Implementation of the Sequence class.
Test your implementation by running the following set of commands:
1.Create sequence called seq;
2.Insert numbers 5, 2, 200, -3.0, 45, -55.5
3.Print out sequence
4.Remove the -3.0
5.Print out sequence
----------------------------------------------
#include#include #include "sequence.cpp" using namespace std; using namespace main_containers; int main ( int argc, char *argv[] ) { // the sequence for the HW is 5, 2, 200, -3.0, 45, -55.5 // I have started the testing specificed in the HW for you. sequence numbers; numbers.start(); numbers.insert(5); // Continue your testing here. }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
