FHTW Berlin
Fachbereich 4
Internationale Medieninformatik
PROG2: Programmierung II
Sommersemester 2003
Solutions to Exercise 3
Katja
and Lars have a nice table showing how the stack is used in preparing postfix.
Volker
and Jeanette decided to put a reverse method in the Stack class, because there
seemed to be a need for it! They also did the StringToInfix method.
Doris
and Ralf have a nice picture of how the infix-to-postfix stuff works.
Frank
and Andreas evaluate their expression from the back using recursion - and
it seems to work!
Denise
and Raphael did as I asked and did the first two things separately - and discovered,
that it really does work to write a program using a class that has not yet been
written, if you have an interface defined.