Basic scalable calculator in java using no 'if' and 'switch' statements.
Write the two numbers used in operation.
Example:
Type the first operator:
10
Type the second operator:
20
Write the operator that will be utilized.
Example:
Type the operation:
SUM
- SUM: Sum of values.
- SUB: Subtraction of first value by second.
- MUL: Multiplication of values.
- DIV: Division of first value by second.
- POW: Power the first value by second.
- ROT: Root the first value by second.