Lesson 06: Statements and Variables (Slides)
Please review the following resources before lecture:
- Complete the Expression Calculator exercise.
- Read article entitled 3 Questions That Will Make You A Phenomenal Rubber Duck
- Do pre-work for lesson 07.
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 expression_calculator.ts file.
- To check your work, you can run the application using the first command below and run the tests using the second one.
npm run compile
npm start
- As usual, make sure that you format your code and run the check command before creating your pull request.
npm run check
- You must only submit changes to the
expression_calculator.ts
file to receive full credit.