Title: JH5 Fraction Help
Course: CPS 161: An Intro to Programming with Java - DL MM MASTER

JH5 Fraction Help

In the associated video, the Fraction class homework is discussed.

Note that there is an error in the program on the video. In the reduce routine you will see on the screen a line that looks like:

for (int divisor=2; divisor < smaller; divisor++)

it should have been:

for (int divisor=2; divisor <= smaller; divisor++)

Last Modified: January 7, 2015 2:30 AM