Lab 4 - part 6 - Extra Credit - Overloading Operators - Rational Class
back to part 5
In assignment 3,
you wrote a program that used a Rational Number Class to perform some computation.
Write a new program or modify that program so that it uses operator overloading
for all the operations performed in that assignment (+, -, *, and /).
In addition, overload operators:
1) == ,
2) <= ,
3) >= ,
4) > , and
5) <.
back to part 5