New course! Every coder should learn Generative AI!
Try a free lesson0
print (20%6)?
Plzz answer my question with explanation
2 Answers
+ 8
Madhavan Singh Parihar
% is modulus operator which returns reminder so here reminder will be 2
+ 2
6×3=18 (20-18=2) 2 is the remainder which remains so 2 is the answer