Uncommenting some methods

master
sgoudham 4 years ago
parent 57691cffcf
commit 8cff1aba79
No known key found for this signature in database
GPG Key ID: EF51A29A50FB754C

@ -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];

Loading…
Cancel
Save