public CalculatorBody() { this.sum = new Addition(); this.difference = new Subtraction(); this.product = new Multiplication(); this.quotient = new Division(); this.exponent = new Exponentiation(); this.sqrt = new SquareRoot(); this.input = new UserInputOutput(); }
public CalculatorBody() { this.sum = new Addition(); this.difference = new Subtraction(); this.product = new Multiplication(); this.quotient = new Division(); this.exponent = new Exponentiation(); this.sqrt = new SquareRoot(); this.input = new UserInputOutput(); }