+ 2

What is the meaning of a % b ?

I forgot it😂😂

4th May 2018, 2:44 PM
Andy Jiang
Andy Jiang - avatar
9 ответов
+ 12
Almost same as divider, the difference is its tell the remainder from the value.. Example: 10 / 2 = 5 -- 10 % 2 = 0 29 / 3 = 9 -- 29 % 3 = 2
4th May 2018, 3:15 PM
ZΛRTHΛИ
ZΛRTHΛИ - avatar
+ 9
it means remainder of a when divided by b like 19%4= 3
4th May 2018, 2:47 PM
Priyanka Thakur
Priyanka Thakur - avatar
+ 6
a%b divides a by b and returns the remainder. 5%3=2 8%2=0 7%6=1
4th May 2018, 2:46 PM
᠌᠌Code X
᠌᠌Code X - avatar
+ 4
% means modulus operator it works like division but returns the reminder of division e.g. 5 % 2 // 1 10 % 3 // 1 15 % 6 // 3
4th May 2018, 2:46 PM
TurtleShell
TurtleShell - avatar
+ 2
get the remainder of (a) divided by (b)
4th May 2018, 3:32 PM
Mervin Dalian
Mervin Dalian - avatar
+ 1
thank you
6th May 2018, 8:48 AM
Andy Jiang
Andy Jiang - avatar
9th May 2018, 2:40 AM
$¢𝐎₹𝔭!𝐨𝓝
$¢𝐎₹𝔭!𝐨𝓝 - avatar
+ 1
When % is used, it simply means return the remainder of the division operation. For Example 5/3 is 1 remainder 2. This means 5%3 = 2 7/2 is 3 remainder 1. This means 7%2 = 1
11th May 2018, 8:28 PM
Fadahunsi Adebayo Samuel
Fadahunsi Adebayo Samuel - avatar
+ 1
thank you
8th Jun 2018, 2:59 PM
Andy Jiang
Andy Jiang - avatar