#include<iostream> using namespace std; class stack { public: stack(int num){ top=-1; max=num; a=new int[max]; }; void push(); void pop(); void display(); private: int top; int max; int input; int *a; }; void stack::push() { if(top==max-1) { cout<<"stack is overflow"<<endl; } else { cout<<"Enter the Element in the Stack"<<endl; cin>>input; top=top+1; a[top]=input; } } void stack::pop() { if(top==-1) { cout<<"Stack is Empty"<<endl; } else { cout<<"Stack value : "<<a[top]<<endl; top=top-1; } } void stack::display() { if(top==-1) { cout<<"Stack is Empty"<<endl; } else {for(int i=top; i>=0; i--) { cout<<"Stack["<<i<...