print (20%6)? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

print (20%6)?

Plzz answer my question with explanation

18th Dec 2020, 3:05 PM
Madhavan Singh Parihar
Madhavan Singh Parihar - avatar
2 Réponses
+ 8
Madhavan Singh Parihar % is modulus operator which returns reminder so here reminder will be 2
18th Dec 2020, 3:08 PM
AÕĘJ
AÕĘJ - avatar
+ 2
6√ó3=18 (20-18=2) 2 is the remainder which remains so 2 is the answer
18th Dec 2020, 7:30 PM
Sayyam Jain
Sayyam Jain - avatar