ostream &operator<<(ostream &os, rational r) { return os << '(' << r.num << '/' << r.denom << ')'; } // End of File