merge completed assignment into main #1

Open
Ramtin wants to merge 10 commits from develop into main
Showing only changes of commit 31cebd8cc6 - Show all commits
+1 -1
View File
@@ -53,7 +53,7 @@ public class Rational {
// COMPLETED - Instance method - this - other
public Rational subtract(Rational other) {
int newNumerator = (this.numerator * other.denominator - other.denominator * this.denominator);
int newNumerator = (this.numerator * other.denominator - other.numerator * this.denominator);
int newDenominator = this.denominator * other.denominator;
Rational result = new Rational(newNumerator, newDenominator);