auto-update(nvim): 2025-01-24 13:08:42

This commit is contained in:
Youwen Wu 2025-01-24 13:08:42 -08:00
parent 3e99bb5443
commit 8ee64c7e1e
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3

View file

@ -7,6 +7,7 @@ class Rational {
private:
int numerator;
int denominator;
int gcd(int, int) const;
public:
Rational(int numerator = 0, int denominator = 1);
@ -16,9 +17,6 @@ public:
Rational divide(const Rational &) const;
void simplify();
void display() const;
private:
int gcd(int, int) const;
};
// Implement Rational class member functions here