CS250 Class Exercise
1) Copy the folder Rational.4.5.10 from CS250 Public to your desktop.
2) Compile and run the program.
3) Change the method multiplication so that the first operand is not
changed when a multiplication happens. That is, cR1.multiplication
(cR2); is to return cR1 times cR2 through the method multiplication but
not change the actual value of cR1 which is what is currently happening.
4) Overload the operator >> so that a Rational object of the form 1/2 can be entered from the keyboard.
5) Overload the operator* so that a statement of the form cR3 = cR1 *
cR2; multiplies two rational objects together placing the result in
cR3. Hint: Since the method multiplication is already written, use the
method multiplication in your solution.