Write difference
between / and % operator
Answers
Answered by
2
Both / and % performs division operations but ' / ' gives the answer quotient and ' % ' gives the answer as Remainder.
for example; a = 5 and b = 2
case 1 : a / b = 2
case 2 : a % b = 1
Please mark this answer as Brainliest answer!! Thank you
Similar questions