0
Modulo operator
Remainder as a output It is denoted by % In math calculation (5%2)= 1 ==(2*2[divisor] + 1[rem] ) (16%3)=1 ==1(3*5[divisor]+ 1[rem])
1 Answer
0
the first is wrong because
5/2=2 with remainder 1 (2*2 + 1)
Remainder as a output It is denoted by % In math calculation (5%2)= 1 ==(2*2[divisor] + 1[rem] ) (16%3)=1 ==1(3*5[divisor]+ 1[rem])