Question: Question 4: (5+5+5=15 Marks] struct stackDT { int num: int pos: class Number Editor { private: int NumAry[size] int counter, stackDT NumStack[size]; int top: public:
![Question 4: (5+5+5=15 Marks] struct stackDT { int num: int pos:](https://s3.amazonaws.com/si.experts.images/answers/2024/09/66dea06e984a7_09466dea06e01c92.jpg)
Question 4: (5+5+5=15 Marks] struct stackDT { int num: int pos: class Number Editor { private: int NumAry[size] int counter, stackDT NumStack[size]; int top: public: bool AddNumberIn NumAgyint num); bool Delete.NumberFromNum Ary(int num); // push deleted member and its position into stack bool UnDeleteNumberO; // pop number and put in moman 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
