Java Fraction Calculator

When you class mates tell you, that you didn’t call the reduce method, they mean, that you never use the reduce method. Your add-method should look somewhat like this: and the multiply method should look like this: Remember that you also have to change your reduce method, as it always returns 1 right now! Edit: Added code to print fraction … Read more