#is this true or false 10%5 < 2
1 messages · Page 1 of 1 (latest)
While you are waiting for getting help, here are some tips to improve your experience:
If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.
Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.
It looks like the first one is true. How come?
o
ok
no the remainder would be 1
if you subtract 2 from 5 as many times as you can before it becomes negative, u end up with 1.
5 - 2 = 3
3 - 2 = 1
1 - 2 = -1 (this is negative, so we go with the previous result: 1)
that's how you find the remainder (which is what the % operator does)
no problemo :D
Closed the thread.
wth lol what happened
someone closed the thread, probably because the original message got deleted as well
but u reopened it now
in regards to the question, just try it out and see what happens
modulo works by doing division and then taking the remainder
so whats 10 divided by 5?
its 2. and whats the remainder? 0
so 10 % 5 is 0
thats whats weird, i helped them and they said they understood it and everything but all their messages are gone now
craaaazy
they were also the same person who closed the thread
they maybe left the server or got banned
or deleted everything on their own
oh wow i wonder why they couldve been banned
dont worry too much about it
o
it says theyre still here actually, very weird
they mustve just wanted it deleted
just wanted to follow up, since u said the result is 1, but its 0
but yeah
at least the math in the title of the thread
that was for 5 % 2 i think
oke 
oh okok yeah i get u now