There are 7 operations can be done in Arithmetic Operators. These are
1 . Addition ( + ) :- This operation gives you the Added value. See the below example.
var a = 5 ;
var b = 3 ;
var c = a + b ;
document.write(b);
OUTPUT :- 8
2 . Subtraction ( – ) :- This Operation gives you the Subtracted value. See the Below example.
var a = 9 ;
var b = 6 ;
var c = a – b ;
document.write(b);
OUTPUT :- 3
3 . Multiplication ( * ) :- This operation gives you the Multiplied value. See the below example.
var a = 7 ;
var b = 5 ;
var c = a * b ;
document.write(b);
OUTPUT :- 35
4 . Division ( / ) :- This operation gives you the Divided / Quotient value. See the below example.
var a = 55 ;
var b = 5 ;
var c = a / b ;
document.write(b);
OUTPUT :- 11
5 . Modulus Operator ( % ) :- This operation gives you the Remainder value. See the below example.
var a = 25 ;
var b = 6 ;
var c = a / b ;
document.write(b);
OUTPUT :- 1
6 . Increment ( ++ ) :- This operation gives you the 1 incremented value. See the below example.
var a = 25 ;
a++;
document.write(a);
OUTPUT :- 26
7 . Decrement ( – – ) :- This operation gives you the 1 Decremented value. See the below example.
var a = 12 ;
a–;
document.write(a);
OUTPUT :- 11
Video Reference
With MotoShare.in, you can book a bike instantly, enjoy doorstep delivery, and ride without worries. Perfect for travelers, professionals, and adventure enthusiasts looking for a seamless mobility solution.