CPSC 1720 - Homework #4

Create a class Rational. Overload the operators << and >> for the Rational class to behave consistent with how they behave for built in data types. Write a driver that demonstrates the operators. You do not need to include any member functions, just enough of the class to demonstrate the input and output operators.

150 East College Avenue * Ephraim, Utah 84627 * Email: ude.wons@nosneros.htrag
© 2004 Snow College * All Rights Reserved
©