0

print (20%6)?

Plzz answer my question with explanation

18th Dec 2020, 3:05 PM
Madhavan Singh Parihar
Madhavan Singh Parihar - avatar
2 Respostas
+ 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