Problem using two stacks with following code

Printable View