Computer Science, asked by baru123, 7 months ago

write javaScript code using arithmetic operators

Answers

Answered by carry3307
0

Answer:

JavaScript Arithmetic Operators

Arithmetic operators perform arithmetic on numbers (literals or variables).

Operator Description

+ Addition

- Subtraction

* Multiplication

** Exponentiation (ES2016)

/ Division

% Modulus (Remainder)

++ Increment

-- Decrement

Arithmetic Operations

A typical arithmetic operation operates on two numbers.

The two numbers can be literals:

Example

var x = 100 + 50;

or variables:

Example

var x = a + b;

or expressions:

Example

var x = (100 + 50) * a;

Operators and Operands

The numbers (in an arithmetic operation) are called operands.

The operation (to be performed between the two operands) is defined by an operator.

Operand Operator Operand

100 + 50

hope it helps

please mark as brainlist

Similar questions