Computer Science, asked by Anonymous, 1 year ago

What does the Modules arithmetic operators do?


Hurry up!! Answer it fast


Anonymous: NO!! That's why i am asking!!

Answers

Answered by ankitasharma
1
Arithmetic operators take numerical values (it can be literal or variable) as their operands and return a single numerical value. 
Answered by Lamesoul
0


When we divide two integers we will have an equation that looks like the following:

AAA is the dividend
BBB is the divisor
QQQ is the quotient
RRR is the remainder

Sometimes, we are only interested in what the remainder is when we divide AAA by BBB.
For these cases there is an operator called the modulo operator (abbreviated as mod).

Using the same AAA, BBB, QQQ, and RRR as above, we would have: A { mod } B = RA mod B=RA, space, m, o, d, space, B, equals, R

We would say this as AAA modulo BBB is equal to RRR. Where BBB is referred to as the modulus.

Similar questions