@@ -0,0 +1,1028 @@
+package func;%0A%0Apublic class Calculator %7B%0A%09public double currentVariable = 0;%0A%09%0A%09private void add(double secondOperand) %7B%0A%09%09this.currentVariable += secondOperand;%0A%09%7D%0A%09%0A%09private void subtract(double secondOperand) %7B%0A%09%09this.currentVariable -= secondOperand;%0A%09%7D%0A%09%0A%09private void multiply(double secondOperand) %7B%0A%09%09this.currentVariable *= secondOperand;%0A%09%7D%0A%09%0A%09private void divide(double secondOperand) %7B%0A%09%09this.currentVariable /= secondOperand;%0A%09%7D%0A%09%0A%09private void modulo(double secondOperand) %7B%0A%09%09this.currentVariable %25= secondOperand;%0A%09%7D%0A%09%0A%09private void power(double secondOperand) %7B%0A%09%09this.currentVariable = (double)Math.pow(currentVariable, secondOperand);%0A%09%7D%0A%09%0A%09//Call Functions%0A%09public void useCalculator( char operator, double input) %7B%0A%09%09%0A%09%09switch (operator) %7B%0A%09%09%09case '+':%0A%09%09%09%09add(input);%0A%09%09%09%09break;%0A%09%09%09case '-':%0A%09%09%09%09subtract(input);%0A%09%09%09%09break;%0A%09%09%09case '*':%0A%09%09%09%09multiply(input);%0A%09%09%09%09break;%0A%09%09%09case '/':%0A%09%09%09%09divide(input);%0A%09%09%09%09break;%0A%09%09%09case '%25':%0A%09%09%09%09modulo(input);%0A%09%09%09%09break;%0A%09%09%09case '%5E':%0A%09%09%09%09power(input);%0A%09%09%09%09break;%0A%09%09%7D%0A%09%7D%0A%7D%0A

Create Calculator.java