示例#1
0
        static void checkingPrimeN()
        {
            Console.WriteLine("enter first number");
            double a = double.Parse(Console.ReadLine());

            Console.WriteLine("enter second number");
            Double b = double.Parse(Console.ReadLine());


            IBasicOperation calculator = new BasicOperation();

            Console.WriteLine($"The addition of a nd b is {calculator.AddTwoNumbers(a,b)}");
        }