(Function contains) Add the contains(T element) function into the Stack class as an instance function to check whether the element is in the stack. The Stack class was introduced in Listing, GenericStack.h.
LISTING GenericStack.h


We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.