+ 2

What is modulo operators??

Sorry friends but pls ans.

5th May 2017, 5:21 PM
Rahul sinha
Rahul sinha - avatar
4 Antworten
+ 21
% is the modulo...which gives the remainder after the division of two numbers. -_-
5th May 2017, 5:25 PM
Dev
Dev - avatar
+ 15
In short: Modulo give the remainder of an operation: 5 % 3 = 2 Because 5 ÷ 3 = 1 with 2 of remainder.
5th May 2017, 5:24 PM
Maz
Maz - avatar
+ 3
Ohh thanks.
5th May 2017, 5:26 PM
Rahul sinha
Rahul sinha - avatar
0
thanks! annoying that they don't explain new concepts, we're expected to know them...
23rd May 2017, 1:15 PM
cmb770