version 1.2
- added total retention - similar to "Ans" on TI calculators -made Calc class to hold all Calc methods
This commit is contained in:
@@ -43,7 +43,7 @@ public class Main {
|
||||
total = Calc.div(num1, num2);
|
||||
System.out.println(total);
|
||||
}
|
||||
default -> System.out.println("Unexpected value: " + op + " ...restarting program");
|
||||
default -> System.out.println("Unexpected value: '" + op + "' ...restarting program");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user