public static Fraction operator *(Fraction f1, long a) { Fraction t = new Fraction(f1.nomerator * a, f1.denominator); return(t); }
public static Fraction operator -(Fraction f1) { Fraction t = new Fraction(-f1.nomerator, f1.denominator); return(t); }
public static Fraction operator *(Fraction f1, Fraction f2) { Fraction t = new Fraction(f1.nomerator * f2.nomerator, f1.denominator * f2.denominator); return(t); }