12)Wen+Jun

code using namespace std;
 * 1) include

class stack{ private:

int top; bool full, empty; char array[5];

public:

stack { top=0; full=false; empty=true; }

~stack{}

bool emptied{ if(top<1) return 1; }

bool fulled { if (top<=5) return 1; }

bool push{ if (top<6){ cout<< "Enter an integer to place into the array:"<> a;	   array[top]=a; top++; }		else if(top>5) { cout<<"Array is full"<1){; cout<<"Enter an integer to remove from the array:" <>a; if (a==1) { stack.push; }	else if (a==2) { stack.pop; }	else if(a==3) { stack.display; }		return 0; system ("pause"); }

code Type in the content of your page here.