Overloading Augmented Assignment Operators in C++
You can define the augmented assignment operators as functions to return a value by reference. C++ has augmented assignment operators +=, -=, *=, /=, and %= for adding, subtracting, multiplying, dividing, and modulus a value in a variable. You can overload these operators in the Rational class. Note that the augmented operators can be used [ [ ...]