How do you calculate the modulus without a calculator when the divisor (y) is larger than the dividend (x). e.g. "x mod y" | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How do you calculate the modulus without a calculator when the divisor (y) is larger than the dividend (x). e.g. "x mod y"

This comes up in challenges on solo learn with only a few seconds to complete.

23rd Sep 2019, 6:43 PM
Rhea
Rhea - avatar
1 Answer
+ 1
Thank you!
23rd Sep 2019, 7:08 PM
Rhea
Rhea - avatar