From f5d06a1df0ed7c856674384c3e41c32ba7498d4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CA1-4U2T1NN=E2=80=9D?= <“a1.austinn19@gmail.com”> Date: Sat, 12 Oct 2024 03:11:12 +0000 Subject: [PATCH] fix: fixed more case errors; --- lesson_06/expression/src/expression_calculator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lesson_06/expression/src/expression_calculator.ts b/lesson_06/expression/src/expression_calculator.ts index 29d93452e..dc9221935 100644 --- a/lesson_06/expression/src/expression_calculator.ts +++ b/lesson_06/expression/src/expression_calculator.ts @@ -4,11 +4,11 @@ export class ExpressionCalculator { // Implement your code here to return the correct value. const sum = this.add(a, b) /* First step of PEMDAS in equation (Parenthesis)*/ - const product = this.multiply(Sum, c) + const product = this.multiply(sum, c) /* Second step of PEMDAS in equation (Parenthesis)*/ const power = Math.pow(d, e) /* Third step of PEMDAS in equation (Exponent)*/ - const quotient = this.divide(Product, Power) + const quotient = this.divide(product, power) /* Fourth and final step of PEMDAS in equation [Multiplication/Division(left to right)]*/ const result = quotient /* Defines final result */