11)RuiHao

code format="cpp" using namespace std;
 * 1) include
 * 2) include

class stack{ private: int top; char array[5]; bool FULL; bool EMPTY;

public: stack{ top = 0; FULL=false; EMPTY=true; } ~stack{};

bool push{ if (top<=5){ char a; cout<<"ENTER something ^^"<>a; array[top]=a; top++; cout<<"^.^"<-1){ top--; array[top] = ' '; cout<<"^.^"<> choice; cout<<endl;

if (choice == 1){ stack.push; cout<<endl; }

else if (choice == 2){ stack.pop; cout<<endl; }

else if (choice == 3){ stack.push; cout<<endl; }

else{ cout<<"Invalid :D"<<endl; }

return 0; } code