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!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 1
Thank you!
23rd Sep 2019, 7:08 PM
Rhea
Rhea - avatar