17)Derek

code
 * 1) include

using namespace std;

class Stack{ protected: char stark[5]; char returnchar; int top;

public: Stack{top=0;} char push(char cha){ if(top<5){ stark[top]=cha; top++; dispray; }		else cout<<"Pop it first or dai\n"; return true; }	char pop{ if(top>0){ top--; dispray; return stark[top]; }		else cout<<"Stack is Empty"; }	bool isempty{ if(top>0)return false; else true; }	bool isfull{ if(top<=5)return false; else true; }	void dispray{ for (int x=0;x>yoink; switch(yoink){ case 1: cout<<"Enter a character, cowboy: "; cin>>inputz; yo.push(inputz); break; case 2: inputz=yo.pop; if(inputz)cout<<"\nYou have just popped \""<<inputz<<"\""<<endl; break; }	} } code