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;
6464var y = 3 ;
6565var addition = x + y;
6666
67- console .log (' Addition: x + y = ' + addition);
67+ console .log (' Addition: x + y = ' + addition); // Addition: x + y = 9
6868
6969var subtraction = x - y;
7070
71- console .log (' Subtraction: x - y = ' + subtraction);
71+ console .log (' Subtraction: x - y = ' + subtraction); // Subtraction: x - y = 3
7272
7373var multiplication = x * y;
7474
75- console .log (' Multiplication: x * y = ' + multiplication);
75+ console .log (' Multiplication: x * y = ' + multiplication); // Multiplication: x * y = 18
7676
7777var division = x / y;
7878
79- console .log (' Division: x / y = ' + division);
79+ console .log (' Division: x / y = ' + division); // Division: x / y = 2
8080```
8181
8282> 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