MYHOSPITALNOW.COM

Find Trusted Doctors & Hospitals

Discover healthcare providers, compare hospitals, and explore treatment options worldwide.

Free Treatment Quotes • Doctor Search • Hospital Comparison

Find Healthcare Options

www.myhospitalnow.com

Arithmetic Operators in JavaScript.

JavaScript arithmetic operators table: +, -, *, /, %, ++, -- with meanings, examples and results

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

Find Trusted Cardiac Hospitals

Compare heart hospitals by city and services — all in one place.

Explore Hospitals
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.

Related Posts

Bitwise Operators in JavaScript.

Video Reference Sushant Kumar With MotoShare.in, you can book a bike instantly, enjoy doorstep delivery, and ride without worries. Perfect for travelers, professionals, and adventure enthusiasts looking…

Read More

Comparison or Relational Operators in JavaScript.

1 . Less than ( < ) :- This operation will return TRUE when the expression will be satisfied and FALSE when not satisfied. See the Below…

Read More

Logical Operators in JavaScript.

1 . Logical AND ( && ) :- In this operator, it returns a TRUE value only when both the conditions are true else it returns FALSE….

Read More

JavaScript Operators.

Operators are the same in all Programming Languages but the way of writing code or using the operators are different. There are 5 types of Operators in…

Read More