In integer arithmetic, gives the quotient and gives the remainder. What is the value of ?
- (A)
9
- (B)
11
- (C)
12
- (D)
2
Answer and solution
Answer: (B)
Integer division: 47 / 5 = 9, since 5 x 9 = 45.
Remainder: 47 % 5 = 47 - 45 = 2.
Sum = 9 + 2 = 11.
The answer is B.