diff --git a/arthimetic-operators.js b/arthimetic-operators.js index 927c518..6ec6a84 100644 --- a/arthimetic-operators.js +++ b/arthimetic-operators.js @@ -18,7 +18,13 @@ Task 1: 7. Use console.log() to print the value of variable e to the console. (it should result 102.000) *******************************************************************************/ // TODO: ADD YOUR CODE BELOW +let a= 4 + 6 ; +let b= 10 * 5 ; +let c= 17 / 3 ; +let d= b - a ; +let e= a + b + c +d ; +console.log(e) /******************************************************************************* Task 2: 1. Subtract two numbers and log the result to the console. @@ -28,3 +34,19 @@ Task 1: 5. Divide two numbers and round the result to the nearest integer before logging it to the console. *******************************************************************************/ // TODO: ADD YOUR CODE BELOW + +let x= 4-3 +console.log(x) + +let y= 1*3*5*7 +console.log(y); + +let rectangular= 3*5*7 +console.log(rectangular); +let declare=9.99%0.20 + +console.log(declare); + +let s= 10/3 + console.log(s); + diff --git a/index.html b/index.html index 10dc49b..46ed1ce 100644 --- a/index.html +++ b/index.html @@ -7,8 +7,9 @@