- Read CC 12.
- Read article entitled 3 Questions That Will Make You A Phenomenal Rubber Duck
- Complete the Expression Calculator exercise
For this assignment, you will need to implement the functions and logic required to calculate a mathematical expression. After implementing the add
, divide
, and multiply
functions, you will combine these functions to compute the final result.
- Update the code in the ExpressionCalculator.java file.
- To check your work, you can run the application using the first command below and run the tests using the second one.
./gradlew run --console=plain
./gradlew test
- As usual, make sure that you format your code and run the check command before creating your pull request.
./gradlew spotlessApply
./gradlew check
- You must only submit changes to the
ExpressionCalculator.java
file to receive full credit.