Beispiel #1
0
        public Fraction mnog(Fraction frac)
        {
            Fraction res = new Fraction(this.Num * frac.Num, this.Div * frac.Div);

            return(res);
        }
Beispiel #2
0
        public Fraction div(Fraction frac)
        {
            Fraction res = new Fraction(this.Num * frac.Div, this.Div * frac.Num);

            return(res);
        }
Beispiel #3
0
        public Fraction min(Fraction frac)
        {
            Fraction res = new Fraction(this.Num * frac.Div - frac.Num * this.Div, this.Div * frac.Div);

            return(res);
        }