Modulo operation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Modulo operation

I've never heard of this. Would some mind educating me

26th Jun 2017, 12:54 PM
Xavier Stewart
Xavier Stewart - avatar
2 Answers
+ 2
Modulo in programming means remainder while operator are the character used to get that remainder
26th Jun 2017, 1:06 PM
Nura Programmer
Nura Programmer - avatar
+ 4
Example 5%2=1 1 is the remainder when 5 is divided by 2 9%5=4 4 is the remainder when 9 is divided by 5
26th Jun 2017, 1:21 PM
SC Lee
SC Lee - avatar