//am having errors on this portion of my code
// am require to implement Icomparable interface with my rational class
//
public int CompareTo(Rational opnd1,Rational opnd2 )
{
if (Rational opnd1 < Rational opnd2)
return -1;
else (Rational opnd1 == Rational opnd2)
return 0;
else
return 1;