Advertisement
Guest User

Untitled

a guest
Mar 3rd, 2015
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None | 0 0
  1. bool found(stack < int > lol, int wally)
  2. {
  3. while(!lol.empty())
  4. {
  5. if(lol.top()==wally)
  6. return true;
  7. lol.pop();
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement