Explain about x modulus 4 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Explain about x modulus 4

6th Jul 2018, 12:27 PM
Sameer Kulkarni
Sameer Kulkarni - avatar
2 Answers
+ 2
modulus is the remainder of dividing two numbers. assuming x is going to be input that you receive then x % 4 will find the remainder. for example 9 % 4 = 1
6th Jul 2018, 1:50 PM
laura
+ 1
thanks
7th Jul 2018, 5:22 AM
Sameer Kulkarni
Sameer Kulkarni - avatar