Explain about x modulus 4 | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

Explain about x modulus 4

6th Jul 2018, 12:27 PM
Sameer Kulkarni
Sameer Kulkarni - avatar
2 Réponses
+ 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