Beispiel #1
0
        public double Tests(double InitialParameter, char Operator, double SecondaryParameter)
        {
            var MethodTest = new CalculatorMethods(InitialParameter, Operator, SecondaryParameter);

            MethodTest.Operation();
            return(MethodTest.operation);
        }
Beispiel #2
0
        public static void Main()
        {
            CalculatorConsoleReturn.RequestInput();
            var math = new CalculatorMethods(CalculatorConsoleReturn.InitialParameter, CalculatorConsoleReturn.Operator, CalculatorConsoleReturn.SecondaryParameter);

            math.Operation();
            CalculatorConsoleReturn.MathConsoleReturn(math.operation);
        }