#include #include "FractionT.h" using namespace std; void PrintFraction(const FractionT & f); int main() { cout << "Starting the program" << endl; cout << " FractionT first;" << endl; FractionT first; PrintFraction(first); cout << "FractionT second(3); " << endl; FractionT second(3); PrintFraction(second); cout << " FractionT third(3,7); " << endl; FractionT third(3,7); PrintFraction(third); FractionT d(0,0); PrintFraction(d); /* FractionT fraction; FractionT a; FractionT b,c; fraction.Set(2,4); PrintFraction(fraction); fraction.Set(2*7*11*13,3*7*11*13); PrintFraction(fraction); a.Set(1,2); b.Set(2,3); //c= a.Multiply(b); c= a * b; PrintFraction(c); cout << "Done with the program " << endl; */ return 0; } void PrintFraction(const FractionT & f){ cout << "The fraction is " << f.Numerator() << "/" << f.Denominator() << endl; }