How will you find out the maximum number of elements present in a stack?
Read the stack and have a counter value
Using STACK.0
Using STACK.MAX
Usinf MAX function