diff --git a/Java Classes & Interfaces/Pluralsite/New Calc Engine/src/NewCalcEngine.java b/Java Classes & Interfaces/Pluralsite/New Calc Engine/src/NewCalcEngine.java index 1ee22a5..a330217 100644 --- a/Java Classes & Interfaces/Pluralsite/New Calc Engine/src/NewCalcEngine.java +++ b/Java Classes & Interfaces/Pluralsite/New Calc Engine/src/NewCalcEngine.java @@ -5,9 +5,9 @@ import java.util.Scanner; public class NewCalcEngine { public static void main(String[] args) { - // performCalculations(); - // executeCalculations(); - // executeInteractively(); + performCalculations(); + executeCalculations(); + executeInteractively(); dynamicInteractivity(); } @@ -78,14 +78,6 @@ public class NewCalcEngine { } } - private static void doCalculation(CalculateBase calculate, double leftVal, double rightVal) { - - calculate.setLeftVal(leftVal); - calculate.setRightVal(rightVal); - calculate.calculate(); - System.out.println("The result of the calculation is: " + calculate.getResult()); - } - private static void performCalculations() { MathEquation[] mathEquation = new MathEquation[4];