Which of the following can be used to get the remainder when an integer a
is divided by integer b?
O a/b
O b/a
O a%b
Ob%a
Answers
Answered by
16
Answer:
I think that it is b hope it helps you
Answered by
0
"a%b get the remainder".
Explanation :
The remainder operator % produces the remainder left over when one operand is divided by a second operand.
a % b is the correct answer which gives the remainder when an integer a is divided by integer b.
While option a/b and b/a give the answer of the value which is called as quotient.
And b%a means, integer b is divided by integer a, which is wrong.
Similar questions