while(!myStack.empty()) { cout << myStack.top() << " "; myStack.pop(); }
void printStack(stack s){ while(!s.empty()){ cout<