CMSC 11700-01 Spring 2002
Sharon Salveter

Homework #2
Due Tuesday 16 April at the beginning of class

Stacks

1. C & P page 323 Problem 2. Implement a linked stack. Run on data provided on website.

2. C & P page 324 Problem 6. Print the postfix expression and the result of the evaluation.

For example:
Input: (2+3)*7
Output: 23+7* and 35

Implement a sequential stack. Run on data provided on website.