We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 640a788 commit 10ce713Copy full SHA for 10ce713
lesson_06/expression/src/expression_calculator.ts
@@ -7,9 +7,10 @@ export class ExpressionCalculator {
7
// Caculate addition with an add function '(a + b)'
8
const originalSum = this.add(a,b);
9
// caculate multiplication '(add * c)' and 'd^e' so d * (e times)
10
- const SumMultiply = this.multiply(originalSum, c)
+ const MultiplyMySum = this.multiply(originalSum, c)
11
// 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);
+ const FinalResult = this.divide(MultiplyMySum, d ^ e);
13
+ // needs caculate something...
14
15
return FinalResult;
16
}
0 commit comments