Saint
Marys University
Department of Mathematics and
Computing Science
CSC 465.2: Principles of
Object-Oriented Programming
WINTER 2000-2001
Assignment #3
Instructor: Dr. Pawan Lingras
Due Date: February 7, 2001
Derive a new class from PostfixCalculator called Calculator to
evaluate infix expressions.
The class will override the functions isOperator and evaluate.
You are expected to minimize additional coding.
You will need additional private functions such as buildPostFix,
comingPriority, stackPriority. Check the demo.