Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5
It calculates remainder... 38%5 == 3 If we divide 38 by 5 38/5 3 is remainder because 5*7 == 35 and 38 - 35 == 3 So its output will be 3 ANOTHER WAY can be 38 = 5 + 5 + 5 + 5 + 5 + 5 + 5 + 3 here 3 is different and hence the output.
26th Feb 2020, 9:30 AM
Utkarsh Sharma
Utkarsh Sharma - avatar