Im a bit confused by the wrding of this question.
Is it saying that we may only take ONE ARGUMENT for the output() and input()
functions, since i want to utlize more so that i may be able to display not only my initial fraction values, but also the sum, differece ect to file or screen.
In other word, am i allowed to do this
void Output(ostream &outs, Rational fraction2, Rational Sum,
Rational Diff, Rational Product...ect)
{
outs << "Fraction 1 : " << numerator << "/" << denominator << endl;
outs << "Fraction 2 : " << fraction2.numerator << "/" <<
fraction2.denominator << endl;
outs << "Sum : " << Sum.numerator << "/" << Sum.denominator << endl;
ect....
}
tx
Veer