Exercise on Stacks

  • Hands on Exercise
   Using Eclipse do the following:
      1\. Write a function that will push items on to a stack
      2\. Write a function that will pop items off of a stack
      3\. Exercise your function in Eclipse to prove that it works
      4\. Include several calls to push items
      5\. Include calls to pop items and then print out their values
      6\. Single step through your code using the Eclipse debugger
```