CSCI A201/A597 and I210

Homework Project Four

Second semester 2000-2001


Due date
Saturday March  3, 11:59pm
Late policy
Solutions are going to be posted at midnight, so nothing can be accepted late.
Work policy
Working in groups is encouraged but please turn in your own version of the assignment.
Task
Define a class Fraction as detailed in class and in the notes listed for Project Four.
Grading
Make sure that your class passes the test program posted.

Notice that you need to define five instance methods (plus, minus, times, divideBy), four predicates (isZero, isInt, equals, greaterThan), and one constructor. You will receive a maximum of 9.5 points for each, for a total of up to 95 points (which is the highest A in this class). The remaining extra 5 points will be kept for outstanding situations when the amount or quality of your work deserves a special mention (A+).

Feedback will be provided within a week, grades will be posted on-line.