static void Main(string[] args)
        {
            do
            {
                BigIntegerFraction n = new BigIntegerFraction(Console.ReadLine());
                BigIntegerFraction p = new BigIntegerFraction(Console.ReadLine());

                RepresentationBI.Write(n + p);
                Console.WriteLine();
            }while (true);
        }
Exemple #2
0
 public static void Write(BigIntegerFraction _fraction)
 {
     Write(_fraction.numerator);
     Console.Write("/");
     Write(_fraction.denominator);
 }