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

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

            return(res);
        }
示例#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);
        }