a student finds the average of 9 positive integers . each integer contains two digits . by mistake , the boy interchanges the digits of one number say pq for qp . due to this , the average becomes 1 less than the previous one . what was the difference of the two digits p and q ?
explanation : let the original number be pq i . e . , ( 10 p + q ) . after interchanging the digits , the new number becomes qp i . e . , ( 10 q + p ) . the question states that the average of 9 numbers has become 1 less than the original average . therefore , the sum of the original 9 numbers will be 9 * 1 more than the sum of the 9 numbers with the digits interchanged . i . e . , 10 p + q = 10 q + p + 9 = > 9 a - 9 b = 9 = > a - b = 1 . answer : c
multiply(divide(1, 9), 9)