9 persons went to a hotel for taking their meals . 8 of them spent rs 12 each on their meals and the ninth spent rs . 8 more than the average expenditure of all the 9 . what was the total money spent by them ?
exp . let the total expenditure be x , then the average = x / 9 , 8 * 12 + [ x / 9 + 8 ] = x or [ x - x / 9 ] = 104 . 8 x / 9 = 104 , x = 104 * 9 / 8 = 117 . answer : a
multiply(9, divide(add(multiply(8, 12), 8), subtract(9, const_1)))