next up previous
Next: Add a new capability Up: Assignment 7: Process Objects Previous: Robustness

Add a new operator

1.
Do Exercise 4.2.2 on page 113 of Standish.

2.
Use your solution to the previous problem to add a new operator, $\wedge$, to your calculator. It should raise the first operand to the power specified by the second operand.



Allen B. Downey
1998-11-01