+ 5
What is modulus
10 Réponses
+ 17
modulus is an operator which gives the remainder when two no are divided.
for example:17%3
as 17 is not perfectly divisible by 3 there is a remainder left.
5*3=15
so modulus of 17%3 is 2 i.e (17-(5*3))...
✌✌
+ 1
thanks
+ 1
what is modulus of 20%3?. the result of multiplying 3 were approaching 20 and less than 20. 6*3=18. so 20-18=2. The answer is true.
+ 1
it gives remainder after performing operation...
0
2
0
In C++ Modulus is Operator Perform a Remainder operation. Which gives remainder value
0
2
0
2
0
Well im kinda understand some of it. But still something, how about
50 - 12 % 50?
- 1
remainder operator!