Explain | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3
4th Aug 2019, 3:23 AM
Indira
Indira - avatar
2 Answers
+ 9
%(modulo) operator returns remainder: 56 = 0*90 + 56, so 56 is left as remainder after dividing 56 with 90
4th Aug 2019, 3:27 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 1
% this operator is used to get remainder. So when we compute the expression it will 0 as quotient as the denominator is greater than numerator and hence 56 is left which is returned as remainder. Hope it helped :D
4th Aug 2019, 3:29 AM
Ayush Pandey
Ayush Pandey - avatar