-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinteger.js
More file actions
27 lines (23 loc) · 744 Bytes
/
Copy pathinteger.js
File metadata and controls
27 lines (23 loc) · 744 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
const numberOne = -30;
const numberTwo = 60;
// Math Operator: Plus
const result = numberOne + numberTwo;
console.log("add ", result);
//Math Operator: Minus
const result1 = numberOne - numberTwo;
console.log("minus ", result1);
const numberThree = 3843;
const numberFour = 3;
// Math Operator: Modulus
console.log("modulus ", numberThree % numberFour);
const variableOne = "10";
const variableTwo = 20;
console.log("Farmer", variableOne + variableTwo)
const variableThree = 10;
const variableFour = 20;
const variableFive = "30";
const variableSix = 20;
const variableSeven = 5;
const resultTwo = variableThree + variableFour + variableFive + variableSix + variableSeven;
console.log("hairlady", resultTwo);
console.log(typeof resultTwo);