A terminal-based interactive calculator which supports the following:
- Basic arithmetic: addition, subtraction, multiplication and division,
- The use of parentheses,
- Variables.
a = 2
b = 10
a * b - 7
13.0
a * (b - 7)
6.0
6 + 370 / 85 - 8
2.352941176470587
/exit
Bye!
This was written as a learning exercise following the below JetBrains Academy task.
TASK: JetBrains Academy | Java Developer | (https://hyperskill.org/projects/42?track=1)
Task status: Complete