File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -64,19 +64,19 @@ var x = 6;
64
64
var y = 3 ;
65
65
var addition = x + y;
66
66
67
- console .log (' Addition: x + y = ' + addition);
67
+ console .log (' Addition: x + y = ' + addition); // Addition: x + y = 9
68
68
69
69
var subtraction = x - y;
70
70
71
- console .log (' Subtraction: x - y = ' + subtraction);
71
+ console .log (' Subtraction: x - y = ' + subtraction); // Subtraction: x - y = 3
72
72
73
73
var multiplication = x * y;
74
74
75
- console .log (' Multiplication: x * y = ' + multiplication);
75
+ console .log (' Multiplication: x * y = ' + multiplication); // Multiplication: x * y = 18
76
76
77
77
var division = x / y;
78
78
79
- console .log (' Division: x / y = ' + division);
79
+ console .log (' Division: x / y = ' + division); // Division: x / y = 2
80
80
```
81
81
82
82
> Why not try some other maths problem using the ` x ` and ` y ` variables?
You can’t perform that action at this time.
0 commit comments