I created a basic arithmetic command line calculator where the user inputs two numbers and the function to calculate.
I wrote this as a way to calculate simple equations, some of which a regular four function calculator cannot do.
I used IntelliJ Idea to write the code.
I used Kotlin and imported scanner for user input and math libraries for calculations.
- In the future, I could add a choice to input multiple numbers.
- I could also implement more functions for more math equations.
- I could also add a way to continue calculating and track history.