Member Function Operators
void rational::operator += (const rational & right)
{ // modify by adding right hand side top = top * right.denominator() + bottom * right.numerator();
bottom *= right.denominator(); // normalize the result, ensuring lowest denominator form normalize();