Who wonders what would happen if we performed modulo operations with negative numbers? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

Who wonders what would happen if we performed modulo operations with negative numbers?

Thinking outside the box

11th Nov 2018, 6:48 AM
elucid8
elucid8 - avatar
5 Answers
11th Nov 2018, 6:55 AM
Muhd Khairul Amirin
Muhd Khairul Amirin - avatar
+ 7
https://www.sololearn.com/Discuss/1080582/?ref=app //might all combinations taken https://www.sololearn.com/Discuss/1162116/?ref=app
11th Nov 2018, 6:58 AM
Gaurav Agrawal
Gaurav Agrawal - avatar
+ 6
I also have such questions as yours, but I never wonder for long. I simply try it.
11th Nov 2018, 7:47 AM
Paul
Paul - avatar
+ 4
I guess I understand now
11th Nov 2018, 7:21 AM
elucid8
elucid8 - avatar
0
It should work. I don’t see why it shouldn’t work
25th Nov 2018, 1:43 AM
ForFun Fun
ForFun Fun - avatar