Beispiel #1
0
        public int Add(string calculatorInput)
        {
            var parser  = new AddendsParser(calculatorInput);
            var addends = parser.GetAddends();

            return(addends.Sum());
        }
 public int Add(string calculatorInput)
 {
     var parser = new AddendsParser(calculatorInput);
     var addends = parser.GetAddends();
     return addends.Sum();
 }