public Fraction mnog(Fraction frac) { Fraction res = new Fraction(this.Num * frac.Num, this.Div * frac.Div); return(res); }
public Fraction div(Fraction frac) { Fraction res = new Fraction(this.Num * frac.Div, this.Div * frac.Num); return(res); }
public Fraction min(Fraction frac) { Fraction res = new Fraction(this.Num * frac.Div - frac.Num * this.Div, this.Div * frac.Div); return(res); }