Question: c++ code [5+5+5=15 Question 4: Marks] struct stackDT { int num; int pos: }; class NumberEditor { private: int NumAry[size] int counter; stackDT NumStack[size]; int
![c++ code [5+5+5=15 Question 4: Marks] struct stackDT { int num;](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66dee67652245_02166dee675ea348.jpg)
c++ code
[5+5+5=15 Question 4: Marks] struct stackDT { int num; int pos: }; class NumberEditor { private: int NumAry[size] int counter; stackDT NumStack[size]; int top: public: bool AddNumberInNumAry(int num); bool Delete NumberFromNumAry(int num); // push deleted number and its position into stack bool UnDeleteNumber(); // pop number and put in numary at proper position. Implement the public functions mentioned above, the comments are there to guide you to the proper implementation of the functions
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
