Explane arethamatic operator with example
Answers
Answer:
Arithmetic operators are those operators which take numeric values(operands) and results in returning a single numeric answer.
There are five types of arithmetic operators:
1)Addition(+) 2)subtraction(-) 3)multiplication(*) 4)Division(/) and 5)Modulus(%)
Example: Addition operator(+) - sum=5+2=7
Multiplication operator(*) - product=5*2=10 etc.
Here, 5 & 2 are the operands.
Hope it helps you:)
All the best!!!
Answer:
An arithmetic operator is a mathematical function that takes two operands and performs a calculation on them. They are used in common arithmetic and most computer languages contain a set of such operators that can be used within equations to perform a number of types of sequential calculation. Basic arithmetic operators include:
Addition (+)
Subtraction (-)
Multiplication (×)
Division (÷)
Computers use different symbols in programming to represent multiplication (*) and division (/). More complex operators such as square root (√) also act as arithmetic operators but the basic plus, minus, multiply and divide are the fundamental operators.
Example:Arithmetic Operators/OperationExample+ (Addition)A+B– (Subtraction)A-B* (multiplication)A*B/ (Division)