Skip to content

Commit 10ce713

Browse files
author
AmiyahJo
committed
change multiply name
1 parent 640a788 commit 10ce713

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

lesson_06/expression/src/expression_calculator.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@ export class ExpressionCalculator {
77
// Caculate addition with an add function '(a + b)'
88
const originalSum = this.add(a,b);
99
// caculate multiplication '(add * c)' and 'd^e' so d * (e times)
10-
const SumMultiply = this.multiply(originalSum, c)
10+
const MultiplyMySum = this.multiply(originalSum, c)
1111
// caculate division with divide function which is different variables of the multiplication values '(add * c)' and 'd^e' so d * (e times)
12-
const FinalResult = this.divide(SumMultiply, d ^ e);
12+
const FinalResult = this.divide(MultiplyMySum, d ^ e);
13+
// needs caculate something...
1314

1415
return FinalResult;
1516
}

0 commit comments

Comments
 (0)