CS 205 - Programming for the Sciences
Spring 2008 - In-class Exercise for 01/17/08


Today's exercise is to finish the very simple (and stupid) RPN calculator by adding various types of error checking and a form of keyboard entry. We will look at if-statements in more detail, use a switch statement, and start looking at methods.


Assignment

(10 points) Working in pairs, add the following features to the calculator



We will work through the implementations of these features during class. When you are finished, demonstrate your program to an instructor.



01/16/08 1 of 1