Пример #1
0
        public void Calculate(int numberOfArms, int numberOfLegs)
        {
            var result = Math.Pow(numberOfArms, numberOfLegs);

            result = Cost.AttractivePrice((double)result);

            Console.WriteLine("Den kostar " + result + " kr");
        }